aboutsummaryrefslogtreecommitdiff
path: root/Doc/reference
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2022-10-05 14:11:12 -0700
committerGitHub <noreply@github.com>2022-10-05 14:11:12 -0700
commit83ad76275c983ed6e6960f00ab3d10e31abb5182 (patch)
tree98cc2e9bdecea527639c0700be6e02cb33f13666 /Doc/reference
parent61183b95ae68c6439840b58ef8eff6371338dd80 (diff)
downloadcpython3-83ad76275c983ed6e6960f00ab3d10e31abb5182.tar.gz
[3.11] gh-93738: Documentation C syntax (:c:type:<C type> -> :c:expr:<C type>) (GH-97768) (#97924)
:c:type:`<C type>` -> :c:expr:`<C type>` Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 0031e62973801d34a9e19ab7bb199e9668e32d7b) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 758f3aef3e..f2465cdf40 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -316,7 +316,7 @@ Sequences
A string is a sequence of values that represent Unicode code points.
All the code points in the range ``U+0000 - U+10FFFF`` can be
- represented in a string. Python doesn't have a :c:type:`char` type;
+ represented in a string. Python doesn't have a :c:expr:`char` type;
instead, every code point in the string is represented as a string
object with length ``1``. The built-in function :func:`ord`
converts a code point from its string form to an integer in the