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 /Misc/NEWS.d/next/Documentation | |
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 'Misc/NEWS.d/next/Documentation')
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2020-07-25-14-20-00.bpo-41314.yrjko0.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2020-07-25-14-20-00.bpo-41314.yrjko0.rst b/Misc/NEWS.d/next/Documentation/2020-07-25-14-20-00.bpo-41314.yrjko0.rst new file mode 100644 index 0000000..48f9c93 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2020-07-25-14-20-00.bpo-41314.yrjko0.rst @@ -0,0 +1 @@ +Changed the release when ``from __future__ import annotations`` becomes the default from ``4.0`` to ``3.10`` (following a change in PEP 563). |