summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-08-17 10:52:48 (GMT)
committerGitHub <noreply@github.com>2023-08-17 10:52:48 (GMT)
commit41c951b62f9c08b5965ca670e660955f95a8cdf5 (patch)
tree8aaf19d4fddde47bc4353acb713970846a6b8e8d /Doc/c-api
parent125aab99ab3d11eaca8e4248548856a077355391 (diff)
downloadcpython-41c951b62f9c08b5965ca670e660955f95a8cdf5.zip
cpython-41c951b62f9c08b5965ca670e660955f95a8cdf5.tar.gz
cpython-41c951b62f9c08b5965ca670e660955f95a8cdf5.tar.bz2
[3.12] gh-107298: Fix some references in the C API documentation (GH-108072) (#108074)
gh-107298: Fix some references in the C API documentation (GH-108072) (cherry picked from commit f51f0466c07eabc6177c2f64f70c952dada050e8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/typeobj.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index d394ce1..cd037b4 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -1697,7 +1697,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
to a pointer, are valid C99 address constants.
However, the unary '&' operator applied to a non-static variable
- like :c:func:`PyBaseObject_Type` is not required to produce an address
+ like :c:data:`PyBaseObject_Type` is not required to produce an address
constant. Compilers may support this (gcc does), MSVC does not.
Both compilers are strictly standard conforming in this particular
behavior.