Skip to content

Commit 6a741ea

Browse files
The deleting setter is called with the default value, not always NULL
1 parent 7767466 commit 6a741ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

development-tools/clinic/howto.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,8 +1508,8 @@ As shown above, the generated setter rejects the deletion with an
15081508

15091509
If the attribute can be deleted, add the ``@deleter`` directive after
15101510
``@setter``.
1511-
The "impl" function is then called with ``NULL`` and is responsible for
1512-
handling this case, as in this example taken from
1511+
The "impl" function is then also called to delete the attribute and is
1512+
responsible for handling this case, as in this example taken from
15131513
:cpy-file:`Objects/funcobject.c`::
15141514

15151515
/*[clinic input]

0 commit comments

Comments
 (0)