diff options
author | Jeroen Demeyer <J.Demeyer@UGent.be> | 2019-09-11 13:01:01 +0200 |
---|---|---|
committer | Petr Viktorin <encukou@gmail.com> | 2019-09-11 12:01:01 +0100 |
commit | 7a6873cdb1f496447ac5d57ae457eacbb56b7972 (patch) | |
tree | a2a7e401399f18067c5b41f24f86d8deaf7f22c6 /Tools/gdb/libpython.py | |
parent | 2d8d597bb8f882a7677db5a2739df0e617098634 (diff) | |
download | cpython-git-7a6873cdb1f496447ac5d57ae457eacbb56b7972.tar.gz |
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.
Diffstat (limited to 'Tools/gdb/libpython.py')
-rwxr-xr-x | Tools/gdb/libpython.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py index e40f79b5c3..e28513db26 100755 --- a/Tools/gdb/libpython.py +++ b/Tools/gdb/libpython.py @@ -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 |