From 2b39da49974bda523c5c1a8777bbe30dbafdcd12 Mon Sep 17 00:00:00 2001 From: Hai Shi Date: Sat, 14 Nov 2020 20:03:42 +0800 Subject: bpo-41832: Restore note about NULL in PyType_Slot.pfunc (GH-23243) --- Doc/c-api/type.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst index f9037c8..84c0a02 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``. -- cgit v0.12