summaryrefslogtreecommitdiffstats
path: root/Objects/enumobject.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-10-11 22:18:26 (GMT)
committerGitHub <noreply@github.com>2021-10-11 22:18:26 (GMT)
commitfb8f208a4ddb38eedee71f9ecd0f22058802dab1 (patch)
tree5968ef94c8b27221c2e1fba4e1c27e5b3c8e6053 /Objects/enumobject.c
parent61190e092b8258ede92ac543bb39bad0f7168104 (diff)
downloadcpython-fb8f208a4ddb38eedee71f9ecd0f22058802dab1.zip
cpython-fb8f208a4ddb38eedee71f9ecd0f22058802dab1.tar.gz
cpython-fb8f208a4ddb38eedee71f9ecd0f22058802dab1.tar.bz2
bpo-45439: _PyObject_Call() only checks tp_vectorcall_offset once (GH-28890)
Add _PyVectorcall_Call() helper function. Add "assert(PyCallable_Check(callable));" to PyVectorcall_Call(), similar check than PyVectorcall_Function().
Diffstat (limited to 'Objects/enumobject.c')
0 files changed, 0 insertions, 0 deletions