diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-11-14 12:03:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-14 12:03:42 (GMT) |
commit | 2b39da49974bda523c5c1a8777bbe30dbafdcd12 (patch) | |
tree | a78362a3df6d45c95695fcdde2521d4519863507 /Doc/c-api | |
parent | 8836574a0f34ae81643c8af79bbb9062e332a4e3 (diff) | |
download | cpython-2b39da49974bda523c5c1a8777bbe30dbafdcd12.zip cpython-2b39da49974bda523c5c1a8777bbe30dbafdcd12.tar.gz cpython-2b39da49974bda523c5c1a8777bbe30dbafdcd12.tar.bz2 |
bpo-41832: Restore note about NULL in PyType_Slot.pfunc (GH-23243)
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/type.rst | 2 |
1 files changed, 2 insertions, 0 deletions
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``. |