Skip to content

Commit

Permalink
apply petr's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shihai1991 committed Nov 4, 2020
1 parent 1f5eec3 commit d0aafe3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Doc/c-api/type.rst
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,7 @@ The following functions and structs are used to create
The desired value of the slot. In most cases, this is a pointer
to a function.
May not be ``NULL``.
.. versionchanged:: 3.10
The ``Py_tp_doc`` slot now can accepts ``NULL`` value.
Previously, the slot may not be ``NULL``.

0 comments on commit d0aafe3

Please sign in to comment.