]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] InternalDocs: Correct struct path for latin1 singletons in `string_interning...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 13 Apr 2026 18:52:47 +0000 (20:52 +0200)
committerGitHub <noreply@github.com>
Mon, 13 Apr 2026 18:52:47 +0000 (18:52 +0000)
(cherry picked from commit 0274d8304e5eec23de100d827eb4da06ab7fd8aa)

Co-authored-by: Stan Ulbrych <stan@python.org>
InternalDocs/string_interning.md

index 358e2c070cd5fa2aabc9854a5a0269c24ee68359..971e33a33c20c76de3eb1f2796db5d3778874795 100644 (file)
@@ -15,8 +15,8 @@ dynamic interning.
 
 The 256 possible one-character latin-1 strings, which can be retrieved with
 `_Py_LATIN1_CHR(c)`, are stored in statically allocated arrays,
-`_PyRuntime.static_objects.strings.ascii` and
-`_PyRuntime.static_objects.strings.latin1`.
+`_PyRuntime.static_objects.singletons.strings.ascii` and
+`_PyRuntime.static_objects.singletons.strings.latin1`.
 
 Longer singleton strings are marked in C source with `_Py_ID` (if the string
 is a valid C identifier fragment) or `_Py_STR` (if it needs a separate