https://github.com/python/cpython/commit/ff72af89911aa12bc3697a02d5edce299d79d504
commit: ff72af89911aa12bc3697a02d5edce299d79d504
branch: 3.11
author: Miss Islington (bot) <[email protected]>
committer: erlend-aasland <[email protected]>
date: 2024-02-09T14:18:01Z
summary:

[3.11] Docs: correctly link to code objects (GH-115214) (#115217)

(cherry picked from commit 769d4448260aaec687d9306950225316f9faefce)

Co-authored-by: Erlend E. Aasland <[email protected]>

files:
M Doc/c-api/code.rst

diff --git a/Doc/c-api/code.rst b/Doc/c-api/code.rst
index 33682d30dff337..3f30710025a3b3 100644
--- a/Doc/c-api/code.rst
+++ b/Doc/c-api/code.rst
@@ -22,12 +22,13 @@ bound into a function.
 .. c:var:: PyTypeObject PyCode_Type
 
    This is an instance of :c:type:`PyTypeObject` representing the Python
-   :class:`code` type.
+   :ref:`code object <code-objects>`.
 
 
 .. c:function:: int PyCode_Check(PyObject *co)
 
-   Return true if *co* is a :class:`code` object.  This function always 
succeeds.
+   Return true if *co* is a :ref:`code object <code-objects>`.
+   This function always succeeds.
 
 .. c:function:: int PyCode_GetNumFree(PyCodeObject *co)
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to