mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-133059: Update documentation of preallocated integer range in long.rst (GH-140231)
This commit is contained in:
parent
f1883852ed
commit
67c98ad8ef
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
|
||||||
.. impl-detail::
|
.. impl-detail::
|
||||||
|
|
||||||
CPython keeps an array of integer objects for all integers
|
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.
|
you actually just get back a reference to the existing object.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue