]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41314: fixed annotations __future__ version (GH-21616)
authorYoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com>
Sat, 25 Jul 2020 21:42:49 +0000 (15:42 -0600)
committerGitHub <noreply@github.com>
Sat, 25 Jul 2020 21:42:49 +0000 (14:42 -0700)
commit0028c14073109595e7532ec00bb1e8bf39ecfb4d
treeaacb6132b2dab32ff414664587896df743e5ee86
parentdaff39070e7ea71b0ba49d9150ac7a210a125682
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.
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]