diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-09-27 20:21:35 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-09-27 20:21:35 (GMT) |
commit | 3749404ba5968c5571d47bc8a984f008a7eb8f80 (patch) | |
tree | 90214113acdd1fa51e1648a43237e1cb7b754977 /Doc/extending | |
parent | c5deed3a1497316d4aa2ac350048d0c770016bc7 (diff) | |
download | cpython-3749404ba5968c5571d47bc8a984f008a7eb8f80.zip cpython-3749404ba5968c5571d47bc8a984f008a7eb8f80.tar.gz cpython-3749404ba5968c5571d47bc8a984f008a7eb8f80.tar.bz2 |
Issue #22251: Fix ReST markup to avoid errors building docs.
Diffstat (limited to 'Doc/extending')
-rw-r--r-- | Doc/extending/newtypes.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst index 45b5721..2dfcdc0 100644 --- a/Doc/extending/newtypes.rst +++ b/Doc/extending/newtypes.rst @@ -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:: |