Skip to content

Commit be59e6f

Browse files
Only NULL is allowed as a default value of the setter value
1 parent 6a741ea commit be59e6f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

development-tools/clinic/howto.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,8 +1521,9 @@ responsible for handling this case, as in this example taken from
15211521
[clinic start generated code]*/
15221522

15231523
The value is only converted if the attribute is not deleted, so it must have
1524-
a default value, which the "impl" function receives for the deletion.
1525-
The implicitly declared value gets the default ``NULL``.
1524+
``NULL`` as a default value, which the "impl" function receives for
1525+
the deletion.
1526+
The implicitly declared value already has this default.
15261527

15271528
.. versionadded:: 3.13
15281529

0 commit comments

Comments
 (0)