mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Fix typo
This commit is contained in:
parent
7bbc855edb
commit
c5895dcc15
1 changed files with 3 additions and 3 deletions
|
@ -539,7 +539,7 @@ special recursion handling. In addition to protecting the stack,
|
||||||
following two functions facilitate this functionality. Effectively,
|
following two functions facilitate this functionality. Effectively,
|
||||||
these are the C equivalent to :func:`reprlib.recursive_repr`.
|
these are the C equivalent to :func:`reprlib.recursive_repr`.
|
||||||
|
|
||||||
.. c:function:: int Py_ReprEntr(PyObject *object)
|
.. c:function:: int Py_ReprEnter(PyObject *object)
|
||||||
|
|
||||||
Called at the beginning of the :attr:`tp_repr` implementation to
|
Called at the beginning of the :attr:`tp_repr` implementation to
|
||||||
detect cycles.
|
detect cycles.
|
||||||
|
@ -559,8 +559,8 @@ these are the C equivalent to :func:`reprlib.recursive_repr`.
|
||||||
|
|
||||||
.. c:function:: void Py_ReprLeave(PyObject *object)
|
.. c:function:: void Py_ReprLeave(PyObject *object)
|
||||||
|
|
||||||
Ends a :c:func:`Py_ReprEntr`. Must be called once for each
|
Ends a :c:func:`Py_ReprEnter`. Must be called once for each
|
||||||
invocation of :c:func:`Py_ReprEntr` that returns zero.
|
invocation of :c:func:`Py_ReprEnter` that returns zero.
|
||||||
|
|
||||||
|
|
||||||
.. _standardexceptions:
|
.. _standardexceptions:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue