summaryrefslogtreecommitdiffstats
path: root/Doc/extending
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-09-27 20:22:35 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-09-27 20:22:35 (GMT)
commitf7fee331042baa0180f89cd38903573bbd12106e (patch)
tree7f7595620de5ec1487b5f99e928e4f08211a3ed4 /Doc/extending
parent89c6ee2df19f169e4e60e1e8bb7b711aa057144e (diff)
parent3749404ba5968c5571d47bc8a984f008a7eb8f80 (diff)
downloadcpython-f7fee331042baa0180f89cd38903573bbd12106e.zip
cpython-f7fee331042baa0180f89cd38903573bbd12106e.tar.gz
cpython-f7fee331042baa0180f89cd38903573bbd12106e.tar.bz2
Issue #22251: Fix ReST markup to avoid errors building docs.
Diffstat (limited to 'Doc/extending')
-rw-r--r--Doc/extending/newtypes.rst2
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::