We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
typing
from __future__ import annotations
1 parent 731d893 commit 80ce701Copy full SHA for 80ce701
Doc/library/typing.rst
@@ -2290,7 +2290,7 @@ Constant
2290
2291
.. note::
2292
2293
- If ``from __future__ import annotations`` is used in Python 3.7 or later,
+ If ``from __future__ import annotations`` is used,
2294
annotations are not evaluated at function definition time.
2295
Instead, they are stored as strings in ``__annotations__``.
2296
This makes it unnecessary to use quotes around the annotation
0 commit comments