https://github.com/python/cpython/commit/0274d8304e5eec23de100d827eb4da06ab7fd8aa commit: 0274d8304e5eec23de100d827eb4da06ab7fd8aa branch: main author: Stan Ulbrych <[email protected]> committer: encukou <[email protected]> date: 2026-04-13T11:45:41+02:00 summary:
InternalDocs: Correct struct path for latin1 singletons in `string_interning.md` (GH-148358) files: M InternalDocs/string_interning.md diff --git a/InternalDocs/string_interning.md b/InternalDocs/string_interning.md index 0913b1a3471ef4..829a27654a37d3 100644 --- a/InternalDocs/string_interning.md +++ b/InternalDocs/string_interning.md @@ -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 _______________________________________________ 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]
