Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-110893: Improve docs for __future__ module #112348

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix version tuple.
Deleting initial spaces was a mistake.  PEP 8 comments are sentences.
  • Loading branch information
terryjreedy authored Feb 25, 2024
commit ee7b9e2976058d9eabe8f58ba4d2b1ad9be1f5c6
10 changes: 5 additions & 5 deletions Doc/library/__future__.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ the *MandatoryRelease* version, then no longer need to include the
where, normally, *OptionalRelease* is less than *MandatoryRelease*, and both are
5-tuples of the same form as :data:`sys.version_info`::

(PY_MAJOR_VERSION, # the 2 in 2.1.0a3; an int
PY_MINOR_VERSION, # the 1; an int
PY_MICRO_VERSION, # the 0; an int
PY_RELEASE_LEVEL, # "alpha", "beta", "candidate" or "final"; string
PY_RELEASE_SERIAL # the 3; an int
(PY_MAJOR_VERSION, # The 2 in 2.1.0a3; an int.
PY_MINOR_VERSION, # The 1; an int.
PY_MICRO_VERSION, # The 0; an int.
PY_RELEASE_LEVEL, # One of "alpha", "beta", "candidate" or "final"; string.
PY_RELEASE_SERIAL # The 3; an int.
)

The release information for features is captured through *OptionalRelease* and
Expand Down