Skip to content

Commit 901d99b

Browse files
shihai1991adorilson
authored andcommitted
bpo-41832: Restore note about NULL in PyType_Slot.pfunc (pythonGH-23243)
1 parent ec83eca commit 901d99b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/c-api/type.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,3 +265,5 @@ The following functions and structs are used to create
265265
266266
The desired value of the slot. In most cases, this is a pointer
267267
to a function.
268+
269+
Slots other than ``Py_tp_doc`` may not be ``NULL``.

0 commit comments

Comments
 (0)