summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-12-04 20:58:04 (GMT)
committerGitHub <noreply@github.com>2023-12-04 20:58:04 (GMT)
commit494cd508c013b8fc8771a3b65d78da19d9b3c179 (patch)
tree0479d1e6ca279726bba9b2d87c72fe9406f98eaf
parent88ec2a4fef5e05e281acf30262ae5981eafa44ab (diff)
downloadcpython-494cd508c013b8fc8771a3b65d78da19d9b3c179.zip
cpython-494cd508c013b8fc8771a3b65d78da19d9b3c179.tar.gz
cpython-494cd508c013b8fc8771a3b65d78da19d9b3c179.tar.bz2
[3.12] gh-112671: Fixing typo in the Macro Docs (GH-112715) (GH-112726)
Replace Py_T_STRING_INLINE with Py_T_STRING_INPLACE (cherry picked from commit a8ce149628c9eaafb8c38fbf25fbd1ed483d2902) Co-authored-by: Amioplk <amir.worms@dauphine.eu>
-rw-r--r--Doc/c-api/structures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst
index 25cb4ed..528813c 100644
--- a/Doc/c-api/structures.rst
+++ b/Doc/c-api/structures.rst
@@ -592,7 +592,7 @@ Macro name C type Python type
(*): Zero-terminated, UTF8-encoded C string.
With :c:macro:`!Py_T_STRING` the C representation is a pointer;
- with :c:macro:`!Py_T_STRING_INLINE` the string is stored directly
+ with :c:macro:`!Py_T_STRING_INPLACE` the string is stored directly
in the structure.
(**): String of length 1. Only ASCII is accepted.