[issue31006] typing.NamedTuple should add annotations to its constructor (__new__) parameters.
Ivan Levkivskyi
report at bugs.python.org
Fri Jul 28 13:32:26 EDT 2017
Ivan Levkivskyi added the comment:
This looks like a reasonable idea, if it is possible to implement this without complications. Would you like to submit a PR at https://github.com/python/typing ?
(We have a separate upstream repo for typing while it is provisional.)
----------
nosy: +levkivskyi
stage: -> needs patch
type: -> enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31006>
_______________________________________
More information about the Python-bugs-list
mailing list