mirror of
https://github.com/python/cpython.git
synced 2026-05-08 03:21:16 +00:00
[3.14] InternalDocs: Correct struct path for latin1 singletons in string_interning.md (GH-148358) (#148492)
(cherry picked from commit 0274d8304e)
Co-authored-by: Stan Ulbrych <stan@python.org>
This commit is contained in:
parent
1fa52c3c84
commit
0b9332bc05
1 changed files with 2 additions and 2 deletions
|
|
@ -16,8 +16,8 @@ ## Singletons
|
|||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue