[issue31939] Support return annotation in signature for Argument Clinic
Brett Cannon
report at bugs.python.org
Sun Nov 5 12:58:02 EST 2017
Brett Cannon <brett at python.org> added the comment:
R. David is correct that currently the policy is there are no type hints in the stdlib. Now the interesting thing about AC is the type hint info could be kept just in the docstring and not added to __annotations__ which somewhat goes around this restriction. Plus I think Victor is only talking about the docstring ATM anyway.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31939>
_______________________________________
More information about the Python-bugs-list
mailing list