Skip to content

Commit d0aafe3

Browse files
committed
apply petr's comment
1 parent 1f5eec3 commit d0aafe3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Doc/c-api/type.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -260,4 +260,7 @@ The following functions and structs are used to create
260260
The desired value of the slot. In most cases, this is a pointer
261261
to a function.
262262
263-
May not be ``NULL``.
263+
.. versionchanged:: 3.10
264+
265+
The ``Py_tp_doc`` slot now can accepts ``NULL`` value.
266+
Previously, the slot may not be ``NULL``.

0 commit comments

Comments
 (0)