https://github.com/python/cpython/commit/67c98ad8ef5530ddfd332a7e9d4257791dc35b1c
commit: 67c98ad8ef5530ddfd332a7e9d4257791dc35b1c
branch: main
author: Tomasz DÄ…dela <[email protected]>
committer: ZeroIntensity <[email protected]>
date: 2025-10-17T06:32:02-04:00
summary:

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

files:
M Doc/c-api/long.rst

diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index 8370dcecad3344..fcb20f7c93cbcc 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -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.
 
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to