[issue43893] typing.get_type_hints does not accept type annotations with leading whitespaces
Guido van Rossum
report at bugs.python.org
Fri Jul 16 23:12:30 EDT 2021
Guido van Rossum <guido at python.org> added the comment:
The more I think about this, the less I like it. AFAIK static checkers like mypy don’t strip leading white space from forward references either. (If I’m wrong, please show evidence.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43893>
_______________________________________
More information about the Python-bugs-list
mailing list