diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-07-25 22:00:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-25 22:00:48 (GMT) |
commit | fdc91c2e6096f60ddb8b7f72fe7926ccbbf42800 (patch) | |
tree | be3f5092e075f477b56e223eff735866786f68ed /Misc | |
parent | 2024d7aca100c3faa9c6730aba3de5f0528750be (diff) | |
download | cpython-fdc91c2e6096f60ddb8b7f72fe7926ccbbf42800.zip cpython-fdc91c2e6096f60ddb8b7f72fe7926ccbbf42800.tar.gz cpython-fdc91c2e6096f60ddb8b7f72fe7926ccbbf42800.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')
-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). |