This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Repeated integer in Lexical analysis/Integer literals section
Type: enhancement Stage:
Components: Documentation Versions: Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: docs@python, python-dev, r.david.murray, rhettinger, vaultah
Priority: normal Keywords: patch

Created on 2015-05-17 18:10 by vaultah, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
intliteral.diff vaultah, 2015-05-17 18:10 Removed duplicate literal review
Messages (4)
msg243418 - (view) Author: Dmitry Kazakov (vaultah) * Date: 2015-05-17 18:10
One of the integers under "Some examples of integer literals" is repeated twice:

    7     2147483647                        0o177    0b100110111
    3     79228162514264337593543950336     0o377    0x100000000
          79228162514264337593543950336              0xdeadbeef

I believe this comes from the old docs: https://docs.python.org/2.7/reference/lexical_analysis.html#integer-and-long-integer-literals (the L suffix was removed).
msg243818 - (view) Author: Dmitry Kazakov (vaultah) * Date: 2015-05-22 08:00
Please, do tell me if I'm wrong deleting that literal and it actually serves some purpose...
msg243825 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2015-05-22 13:53
I believe you are correct.
msg243867 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-05-22 23:38
New changeset 645a03e93008 by Raymond Hettinger in branch '3.4':
Issue #24219: Remove duplicate literal in docs.
https://hg.python.org/cpython/rev/645a03e93008
History
Date User Action Args
2022-04-11 14:58:17adminsetgithub: 68407
2015-05-22 23:40:53rhettingersetstatus: open -> closed
resolution: fixed
2015-05-22 23:38:24python-devsetnosy: + python-dev
messages: + msg243867
2015-05-22 23:29:51rhettingersetassignee: docs@python -> rhettinger

nosy: + rhettinger
2015-05-22 13:53:52r.david.murraysetnosy: + r.david.murray
messages: + msg243825
2015-05-22 08:00:25vaultahsetmessages: + msg243818
2015-05-17 18:10:51vaultahcreate