]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
InternalDocs: Correct struct path for latin1 singletons in `string_interning.md`...
authorStan Ulbrych <stan@python.org>
Mon, 13 Apr 2026 09:45:41 +0000 (10:45 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Apr 2026 09:45:41 +0000 (11:45 +0200)
InternalDocs/string_interning.md

index 0913b1a3471ef49fc31c50d43253c3a548b311d1..829a27654a37d3448a245dcb4a433a2ed2345cb3 100644 (file)
@@ -16,8 +16,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