summaryrefslogtreecommitdiffstats
path: root/Doc/extending
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-09-27 21:01:55 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-09-27 21:01:55 (GMT)
commit131caba074ae6d72dd795ca9a61f17c45c1a3349 (patch)
treea96ec5126c5cf43e47a59731511ae5fbcc541b9f /Doc/extending
parent3a54c3e3aa7148522ca1af7244b79f9bad57c59b (diff)
parent9c1dba2758fc601f6c4d7fe2aeb62272ffd688a8 (diff)
downloadcpython-131caba074ae6d72dd795ca9a61f17c45c1a3349.zip
cpython-131caba074ae6d72dd795ca9a61f17c45c1a3349.tar.gz
cpython-131caba074ae6d72dd795ca9a61f17c45c1a3349.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::