mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
fix typo in typing.rst (#30841)
This commit is contained in:
parent
d1beb241d9
commit
d75a51bea3
1 changed files with 1 additions and 1 deletions
|
|
@ -2142,7 +2142,7 @@ Constant
|
||||||
|
|
||||||
If ``from __future__ import annotations`` is used in Python 3.7 or later,
|
If ``from __future__ import annotations`` is used in Python 3.7 or later,
|
||||||
annotations are not evaluated at function definition time.
|
annotations are not evaluated at function definition time.
|
||||||
Instead, they are stored as strings in ``__annotations__``,
|
Instead, they are stored as strings in ``__annotations__``.
|
||||||
This makes it unnecessary to use quotes around the annotation.
|
This makes it unnecessary to use quotes around the annotation.
|
||||||
(see :pep:`563`).
|
(see :pep:`563`).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue