bpo-41832: Restore note about NULL in PyType_Slot.pfunc (GH-23243)

This commit is contained in:
Hai Shi 2020-11-14 20:03:42 +08:00 committed by GitHub
parent 8836574a0f
commit 2b39da4997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View 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 The desired value of the slot. In most cases, this is a pointer
to a function. to a function.
Slots other than ``Py_tp_doc`` may not be ``NULL``.