]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-110893: Improve the documentation for __future__ module (GH-114642) (#114703)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 29 Jan 2024 09:46:04 +0000 (10:46 +0100)
committerGitHub <noreply@github.com>
Mon, 29 Jan 2024 09:46:04 +0000 (09:46 +0000)
commita2c55c56d3b3431ff554636e2be135b6c9714ec6
treefe895f75a9d8157f891ce83f8a8eb21630d94549
parenteff69a7bf98356f18393ab941011892783549e2c
[3.11] gh-110893: Improve the documentation for __future__ module (GH-114642) (#114703)

gh-110893: Improve the documentation for __future__ module (GH-114642)

nedbat took issue with the phrasing "real module". I'm actually fine
with that phrasing, but I do think the `__future__` page should be clear
about the way in which the `__future__` module is special. (Yes, there
was a footnote linking to the future statements part of the reference,
but there should be upfront discussion).

I'm sympathetic to nedbat's claim that no one really cares about
`__future__._Feature`, so I've moved the interesting table up to the
top.
(cherry picked from commit 3b86891fd69093b60141300862f278614ba80613)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Doc/library/__future__.rst