summaryrefslogtreecommitdiffstats
path: root/Doc/extending
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-09-27 21:00:58 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-09-27 21:00:58 (GMT)
commit9c1dba2758fc601f6c4d7fe2aeb62272ffd688a8 (patch)
treeaccb8efa32cfdc7efac1196a33e445f84fb59b35 /Doc/extending
parent9ce69672f3a1fbd9f337737bf35ace1a1a592598 (diff)
downloadcpython-9c1dba2758fc601f6c4d7fe2aeb62272ffd688a8.zip
cpython-9c1dba2758fc601f6c4d7fe2aeb62272ffd688a8.tar.gz
cpython-9c1dba2758fc601f6c4d7fe2aeb62272ffd688a8.tar.bz2
Revert #22251
Diffstat (limited to 'Doc/extending')
-rw-r--r--Doc/extending/newtypes.rst2
1 files changed, 0 insertions, 2 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst
index 2dfcdc0..45b5721 100644
--- a/Doc/extending/newtypes.rst
+++ b/Doc/extending/newtypes.rst
@@ -983,7 +983,6 @@ 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
@@ -998,7 +997,6 @@ 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::