Closed agoraplex closed 11 years ago
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.
funcsigs.formatannotation
builtins
__builtin__
funcsigs.formatannotation
strips the module name from builtin types in Python 3, but not in Python 2.x, since it's looking forbuiltins
, not__builtin__
. This adds proper support (and unit tests) for Python 2.x.