]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41832: Restore note about NULL in PyType_Slot.pfunc (GH-23243)
authorHai Shi <shihai1992@gmail.com>
Sat, 14 Nov 2020 12:03:42 +0000 (20:03 +0800)
committerGitHub <noreply@github.com>
Sat, 14 Nov 2020 12:03:42 +0000 (13:03 +0100)
Doc/c-api/type.rst

index f9037c89d8bd3b7cf20cd080e67eeb46d78ffdf3..84c0a02046a65e761223d4a1a7ae886f7f8194d6 100644 (file)
@@ -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``.