[3.13] InternalDocs: Correct struct path for latin1 singletons in string_interning.md (GH-148358) (#148491)

(cherry picked from commit 0274d8304e)

Co-authored-by: Stan Ulbrych <stan@python.org>
This commit is contained in:
Miss Islington (bot)
2026-04-13 20:52:47 +02:00
committed by GitHub
parent f35859bca6
commit 26105b03a6
+2 -2
View 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