[issue27989] incomplete signature with help function using typing

Spencer Brown report at bugs.python.org
Wed Sep 7 05:59:07 EDT 2016


Spencer Brown added the comment:

More precisely, the issue is with inspect.formatannotation(), which overrides/ignores the repr if the annotation is an instance of type. Perhaps that should be changed to also check that __repr__ is type's repr.

----------
nosy: +Spencer Brown

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27989>
_______________________________________


More information about the Python-bugs-list mailing list