Skip to content

Commit 7f54bd0

Browse files
Update docs for deferral of PEP 563 to 3.11 (#10655)
Resolves #10648
1 parent d3c30fe commit 7f54bd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/runtime_troubles.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and explains how to get your code running again. Generally speaking, we have
99
three tools at our disposal:
1010

1111
* For Python 3.7 through 3.9, use of ``from __future__ import annotations``
12-
(:pep:`563`), made the default in Python 3.10 and later
12+
(:pep:`563`), made the default in Python 3.11 and later
1313
* Use of string literal types or type comments
1414
* Use of ``typing.TYPE_CHECKING``
1515

@@ -47,7 +47,7 @@ Future annotations import (PEP 563)
4747
-----------------------------------
4848

4949
Many of the issues described here are caused by Python trying to evaluate
50-
annotations. From Python 3.10 on, Python will no longer attempt to evaluate
50+
annotations. From Python 3.11 on, Python will no longer attempt to evaluate
5151
function and variable annotations. This behaviour is made available in Python
5252
3.7 and later through the use of ``from __future__ import annotations``.
5353

0 commit comments

Comments
 (0)