gh-92417: `typing` docs: `from __future__ import annotations` can be used in all supported Python versions (GH-92418)

(cherry picked from commit e5b4bd4d60)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Miss Islington (bot) 2022-05-08 08:04:31 -07:00 committed by GitHub
parent d0d22ca9fb
commit a85bdd7e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2668,7 +2668,7 @@ Constant
.. note::
If ``from __future__ import annotations`` is used in Python 3.7 or later,
If ``from __future__ import annotations`` is used,
annotations are not evaluated at function definition time.
Instead, they are stored as strings in ``__annotations__``.
This makes it unnecessary to use quotes around the annotation