]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-133059: Update documentation of preallocated integer range in `long.rst` (GH-140231)
authorTomasz Dądela <39437649+tdadela@users.noreply.github.com>
Fri, 17 Oct 2025 10:32:02 +0000 (12:32 +0200)
committerGitHub <noreply@github.com>
Fri, 17 Oct 2025 10:32:02 +0000 (06:32 -0400)
Doc/c-api/long.rst

index 8370dcecad3344369df533b8dea452b99ccf1d1b..fcb20f7c93cbccf9dfddcfabfb4cad7764af8821 100644 (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.