diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-07-25 22:00:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-25 22:00:17 (GMT) |
commit | b99f770230e0db390aa80c5135b1053f3be48e19 (patch) | |
tree | 7358daeda529613b99c13bb4f5a1b35864f0b085 /Doc/library | |
parent | 949cf93f8ee27c37650483458f0aa3e295011ef6 (diff) | |
download | cpython-b99f770230e0db390aa80c5135b1053f3be48e19.zip cpython-b99f770230e0db390aa80c5135b1053f3be48e19.tar.gz cpython-b99f770230e0db390aa80c5135b1053f3be48e19.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.
(cherry picked from commit 0028c14073109595e7532ec00bb1e8bf39ecfb4d)
Co-authored-by: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com>
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/__future__.rst | 2 |
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* | +------------------+-------------+--------------+---------------------------------------------+ |