Skip to content

Commit 2b39da4

Browse files
authored
bpo-41832: Restore note about NULL in PyType_Slot.pfunc (GH-23243)
1 parent 8836574 commit 2b39da4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/c-api/type.rst

+2
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)