diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-10-05 15:17:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-05 15:17:46 (GMT) |
commit | 4245764fae0f09fe5ac1c7bc736d35aeb064a795 (patch) | |
tree | e8408ee571b54a97639e9d07c500fea53d38f267 /Doc/library | |
parent | d108eeb6786ab02799503a3f8afb998d0913a468 (diff) | |
download | cpython-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/library')
-rw-r--r-- | Doc/library/ctypes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 19ce19b..3a9f3a8 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -2367,8 +2367,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 |