summaryrefslogtreecommitdiffstats
path: root/Tools/gdb
diff options
context:
space:
mode:
authorJeroen Demeyer <J.Demeyer@UGent.be>2019-09-11 11:01:01 (GMT)
committerPetr Viktorin <encukou@gmail.com>2019-09-11 11:01:01 (GMT)
commit7a6873cdb1f496447ac5d57ae457eacbb56b7972 (patch)
treea2a7e401399f18067c5b41f24f86d8deaf7f22c6 /Tools/gdb
parent2d8d597bb8f882a7677db5a2739df0e617098634 (diff)
downloadcpython-7a6873cdb1f496447ac5d57ae457eacbb56b7972.zip
cpython-7a6873cdb1f496447ac5d57ae457eacbb56b7972.tar.gz
cpython-7a6873cdb1f496447ac5d57ae457eacbb56b7972.tar.bz2
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')
-rwxr-xr-xTools/gdb/libpython.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index e40f79b..e28513d 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