summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/exceptions.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-05 15:17:46 (GMT)
committerGitHub <noreply@github.com>2022-10-05 15:17:46 (GMT)
commit4245764fae0f09fe5ac1c7bc736d35aeb064a795 (patch)
treee8408ee571b54a97639e9d07c500fea53d38f267 /Doc/c-api/exceptions.rst
parentd108eeb6786ab02799503a3f8afb998d0913a468 (diff)
downloadcpython-4245764fae0f09fe5ac1c7bc736d35aeb064a795.zip
cpython-4245764fae0f09fe5ac1c7bc736d35aeb064a795.tar.gz
cpython-4245764fae0f09fe5ac1c7bc736d35aeb064a795.tar.bz2
[3.10] gh-93738: Documentation C syntax (:c:type:`PyObject` -> :c:expr:`PyObject`) (GH-97776) (#97888)
:c:type:`PyObject` -> :c:expr:`PyObject` (cherry picked from commit 0bf6a617ed1832bc4803e532c8d6b3427cf48b13) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to 'Doc/c-api/exceptions.rst')
-rw-r--r--Doc/c-api/exceptions.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index 40759f7..ad75ec5 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -828,7 +828,7 @@ Standard Exceptions
All standard Python exceptions are available as global variables whose names are
``PyExc_`` followed by the Python exception name. These have the type
-:c:type:`PyObject*`; they are all class objects. For completeness, here are all
+:c:expr:`PyObject*`; they are all class objects. For completeness, here are all
the variables:
.. index::
@@ -1048,7 +1048,7 @@ Standard Warning Categories
All standard Python warning categories are available as global variables whose
names are ``PyExc_`` followed by the Python exception name. These have the type
-:c:type:`PyObject*`; they are all class objects. For completeness, here are all
+:c:expr:`PyObject*`; they are all class objects. For completeness, here are all
the variables:
.. index::