mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #22251: Fix ReST markup to avoid errors building docs.
This commit is contained in:
commit
f7fee33104
18 changed files with 38 additions and 6 deletions
|
|
@ -983,6 +983,7 @@ done. This can be done using the :c:func:`PyErr_Fetch` and
|
|||
}
|
||||
|
||||
.. note::
|
||||
|
||||
There are limitations to what you can safely do in a deallocator function.
|
||||
First, if your type supports garbage collection (using :c:member:`~PyTypeObject.tp_traverse`
|
||||
and/or :c:member:`~PyTypeObject.tp_clear`), some of the object's members can have been
|
||||
|
|
@ -997,6 +998,7 @@ done. This can be done using the :c:func:`PyErr_Fetch` and
|
|||
:c:member:`~PyTypeObject.tp_finalize` type method.
|
||||
|
||||
.. seealso::
|
||||
|
||||
:pep:`442` explains the new finalization scheme.
|
||||
|
||||
.. index::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue