Thanks to visit codestin.com Credit goes to github.com
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 45e1721 commit e5b4bd4Copy full SHA for e5b4bd4
1 file changed
Doc/library/typing.rst
@@ -2668,7 +2668,7 @@ Constant
2668
2669
.. note::
2670
2671
- If ``from __future__ import annotations`` is used in Python 3.7 or later,
+ If ``from __future__ import annotations`` is used,
2672
annotations are not evaluated at function definition time.
2673
Instead, they are stored as strings in ``__annotations__``.
2674
This makes it unnecessary to use quotes around the annotation
0 commit comments