summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorYoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com>2020-07-25 21:42:49 (GMT)
committerGitHub <noreply@github.com>2020-07-25 21:42:49 (GMT)
commit0028c14073109595e7532ec00bb1e8bf39ecfb4d (patch)
treeaacb6132b2dab32ff414664587896df743e5ee86 /Doc/library
parentdaff39070e7ea71b0ba49d9150ac7a210a125682 (diff)
downloadcpython-0028c14073109595e7532ec00bb1e8bf39ecfb4d.zip
cpython-0028c14073109595e7532ec00bb1e8bf39ecfb4d.tar.gz
cpython-0028c14073109595e7532ec00bb1e8bf39ecfb4d.tar.bz2
bpo-41314: fixed annotations __future__ version (GH-21616)
PEP 563 was updated to change the release where `from __future__ import annotations` becomes the default (and only) behavior from 4.0 to 3.10. Update `__future__.py` and its docs to reflect this.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/__future__.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/__future__.rst b/Doc/library/__future__.rst
index e3d749e..4139994 100644
--- a/Doc/library/__future__.rst
+++ b/Doc/library/__future__.rst
@@ -90,7 +90,7 @@ language using this mechanism:
| generator_stop | 3.5.0b1 | 3.7 | :pep:`479`: |
| | | | *StopIteration handling inside generators* |
+------------------+-------------+--------------+---------------------------------------------+
-| annotations | 3.7.0b1 | 4.0 | :pep:`563`: |
+| annotations | 3.7.0b1 | 3.10 | :pep:`563`: |
| | | | *Postponed evaluation of annotations* |
+------------------+-------------+--------------+---------------------------------------------+