From: Hai Shi Date: Sat, 14 Nov 2020 12:03:42 +0000 (+0800) Subject: bpo-41832: Restore note about NULL in PyType_Slot.pfunc (GH-23243) X-Git-Tag: v3.10.0a3~203 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b39da49974bda523c5c1a8777bbe30dbafdcd12;p=thirdparty%2FPython%2Fcpython.git bpo-41832: Restore note about NULL in PyType_Slot.pfunc (GH-23243) --- diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst index f9037c89d8bd..84c0a02046a6 100644 --- a/Doc/c-api/type.rst +++ b/Doc/c-api/type.rst @@ -265,3 +265,5 @@ 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. + + Slots other than ``Py_tp_doc`` may not be ``NULL``.