gh-133059: Update documentation of preallocated integer range in long.rst (GH-140231)

This commit is contained in:
Tomasz Dądela 2025-10-17 12:32:02 +02:00 committed by GitHub
parent f1883852ed
commit 67c98ad8ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,7 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
.. impl-detail::
CPython keeps an array of integer objects for all integers
between ``-5`` and ``256``. When you create an int in that range
between ``-5`` and ``1024``. When you create an int in that range
you actually just get back a reference to the existing object.