Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
apply victor's comment
  • Loading branch information
shihai1991 committed Nov 6, 2020
commit b452c0563956eae644dfc74b330409911d90c3f4
3 changes: 1 addition & 2 deletions Doc/c-api/type.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ The following functions and structs are used to create

.. versionchanged:: 3.10

The ``Py_tp_doc`` slot now can accepts ``NULL`` value.
Previously, the slot may not be ``NULL``.
The function now accepts NULL ``tp_doc`` slot.

.. c:function:: PyObject* PyType_FromSpecWithBases(PyType_Spec *spec, PyObject *bases)

Expand Down