mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
bpo-37151: remove special case for PyCFunction from PyObject_Call (GH-14684)
bpo-37151: remove special case for PyCFunction from PyObject_Call Alse, make the undocumented function PyCFunction_Call an alias of PyObject_Call and deprecate it.
This commit is contained in:
parent
2d8d597bb8
commit
7a6873cdb1
6 changed files with 47 additions and 66 deletions
|
@ -1564,7 +1564,7 @@ class Frame(object):
|
|||
return False
|
||||
|
||||
if (caller.startswith('cfunction_vectorcall_') or
|
||||
caller == 'cfunction_call_varargs'):
|
||||
caller == 'cfunction_call'):
|
||||
arg_name = 'func'
|
||||
# Within that frame:
|
||||
# "func" is the local containing the PyObject* of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue