diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-17 10:52:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 10:52:48 (GMT) |
commit | 41c951b62f9c08b5965ca670e660955f95a8cdf5 (patch) | |
tree | 8aaf19d4fddde47bc4353acb713970846a6b8e8d /Doc/c-api | |
parent | 125aab99ab3d11eaca8e4248548856a077355391 (diff) | |
download | cpython-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.rst | 2 |
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. |