Skip to content

Commit 4ef74c0

Browse files
authored
Update Doc/extending/newtypes_tutorial.rst
1 parent d3b5c48 commit 4ef74c0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Doc/extending/newtypes_tutorial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ the object's type might not be :class:`!CustomType`, because the object may
271271
be an instance of a subclass.
272272

273273
.. note::
274+
274275
The explicit cast to ``CustomObject *`` above is needed because we defined
275276
``Custom_dealloc`` to take a ``PyObject *`` argument, as the ``tp_dealloc``
276277
function pointer expects to receive a ``PyObject *`` argument.

0 commit comments

Comments
 (0)