mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.11] Docs: correctly link to code objects (GH-115214) (#115217)
(cherry picked from commit 769d444826
)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
This commit is contained in:
parent
20c6535693
commit
ff72af8991
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue