[issue46539] typing: forward references don't understand special type forms

Gregory Beauregard report at bugs.python.org
Wed Jan 26 15:48:00 EST 2022


Gregory Beauregard <greg at greg.red> added the comment:

typo: the line is `g: Annotated["ClassVar[int]", (2, 5)] = 3` in the code sample. Somehow I left it at only `(` for the annotation instead of `(2,5)`

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46539>
_______________________________________


More information about the Python-bugs-list mailing list