]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41314: fixed annotations __future__ version (GH-21616)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 25 Jul 2020 22:00:48 +0000 (15:00 -0700)
committerGitHub <noreply@github.com>
Sat, 25 Jul 2020 22:00:48 +0000 (15:00 -0700)
commitfdc91c2e6096f60ddb8b7f72fe7926ccbbf42800
treebe3f5092e075f477b56e223eff735866786f68ed
parent2024d7aca100c3faa9c6730aba3de5f0528750be
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>
Doc/library/__future__.rst
Lib/__future__.py
Misc/NEWS.d/next/Documentation/2020-07-25-14-20-00.bpo-41314.yrjko0.rst [new file with mode: 0644]