Thanks to visit codestin.com
Credit goes to github.com

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)