]> 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:17 +0000 (15:00 -0700)
committerGitHub <noreply@github.com>
Sat, 25 Jul 2020 22:00:17 +0000 (15:00 -0700)
commitb99f770230e0db390aa80c5135b1053f3be48e19
tree7358daeda529613b99c13bb4f5a1b35864f0b085
parent949cf93f8ee27c37650483458f0aa3e295011ef6
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]