[issue44693] Unclear definition of the "__future__" module in Docs
Steven Hsu
report at bugs.python.org
Sat Jul 24 04:36:54 EDT 2021
Steven Hsu <hsuhaochun at gmail.com> added the comment:
Applying above suggestions, the first sentence of the entry "__future__" would be replaced by:
A :ref:`future statement <future>`, "from __future__ import *feature* ...", directs the compiler to compile the current module using syntax or semantics that will become standard in a future release of Python. The :mod:`__future__` module documents the possible values of *feature*.
And the confusing sentence, "A pseudo-module which programmers can use to enable new language features which are not compatible with the current interpreter." would be removed.
Can I fix this issue this way?
If confirmed, I would make a PR for this issue.
--
:ref:`future` -> https://docs.python.org/3.9/reference/simple_stmts.html#future-statements
:mod:`__future__` -> https://docs.python.org/3.9/library/__future__.html#module-__future__
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44693>
_______________________________________
More information about the Python-bugs-list
mailing list