mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[3.12] Docs: correctly link to code objects (GH-115214) (#115216)
(cherry picked from commit 769d444826
)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
This commit is contained in:
parent
0211f919b1
commit
370cbbbfeb
1 changed files with 3 additions and 2 deletions
|
@ -22,12 +22,13 @@ bound into a function.
|
||||||
.. c:var:: PyTypeObject PyCode_Type
|
.. c:var:: PyTypeObject PyCode_Type
|
||||||
|
|
||||||
This is an instance of :c:type:`PyTypeObject` representing the Python
|
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)
|
.. 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)
|
.. c:function:: int PyCode_GetNumFree(PyCodeObject *co)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue