summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-10-04 23:13:03 (GMT)
committerGitHub <noreply@github.com>2022-10-04 23:13:03 (GMT)
commit0bf6a617ed1832bc4803e532c8d6b3427cf48b13 (patch)
tree7fdb300225bae6bd3a2579f4b6a60a64fcf1343e /Doc/library
parent4ebb0250314b57637d213cd5bc5f5ce5dd911d94 (diff)
downloadcpython-0bf6a617ed1832bc4803e532c8d6b3427cf48b13.zip
cpython-0bf6a617ed1832bc4803e532c8d6b3427cf48b13.tar.gz
cpython-0bf6a617ed1832bc4803e532c8d6b3427cf48b13.tar.bz2
gh-93738: Documentation C syntax (:c:type:`PyObject` -> :c:expr:`PyObject`) (#97776)
:c:type:`PyObject` -> :c:expr:`PyObject`
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/ctypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index 9546696..685ff83 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -2387,8 +2387,8 @@ These are the fundamental ctypes data types:
.. class:: py_object
- Represents the C :c:type:`PyObject *` datatype. Calling this without an
- argument creates a ``NULL`` :c:type:`PyObject *` pointer.
+ Represents the C :c:expr:`PyObject *` datatype. Calling this without an
+ argument creates a ``NULL`` :c:expr:`PyObject *` pointer.
The :mod:`ctypes.wintypes` module provides quite some other Windows specific
data types, for example :c:type:`HWND`, :c:type:`WPARAM`, or :c:type:`DWORD`. Some