diff options
| author | Berker Peksag <berker.peksag@gmail.com> | 2014-09-27 23:22:35 +0300 |
|---|---|---|
| committer | Berker Peksag <berker.peksag@gmail.com> | 2014-09-27 23:22:35 +0300 |
| commit | f7fee331042baa0180f89cd38903573bbd12106e (patch) | |
| tree | 7f7595620de5ec1487b5f99e928e4f08211a3ed4 /Doc/extending | |
| parent | 89c6ee2df19f169e4e60e1e8bb7b711aa057144e (diff) | |
| parent | 3749404ba5968c5571d47bc8a984f008a7eb8f80 (diff) | |
| download | cpython-git-f7fee331042baa0180f89cd38903573bbd12106e.tar.gz | |
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 45b57211b6..2dfcdc0f31 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:: |
