We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f53dc3 commit a9f1ee1Copy full SHA for a9f1ee1
Doc/c-api/typeobj.rst
@@ -2148,9 +2148,8 @@ and :c:data:`PyType_Type` effectively act as defaults.)
2148
to be called before attempting to break reference cycles, ensuring
2149
that it finds the object in a sane state.
2150
2151
- :c:member:`~PyTypeObject.tp_finalize` should not mutate the current exception status;
2152
- therefore, a recommended way to write a non-trivial finalizer is with
2153
- :c:func:`PyErr_GetRaisedException`
+ :c:member:`~PyTypeObject.tp_finalize` should not mutate the current exception
+ status. Non-trivial finalizers should use :c:func:`PyErr_GetRaisedException`.
2154
2155
**Inheritance:**
2156
0 commit comments