fix annotation formatting for builtin types in Python 2.x #1

Merged
merged 1 commit into from May 19, 2013

3 participants

@agoraplex

No description provided.

@tripplilley

funcsigs.formatannotation strips the module name from builtin types in Python 3, but not in Python 2.x, since it's looking for builtins, not __builtin__. This adds proper support (and unit tests) for Python 2.x.

@aliles aliles merged commit b15c861 into aliles:master May 19, 2013

1 check passed

Details default The Travis build passed
@agoraplex agoraplex deleted the agoraplex:formatannotation branch Jan 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment