summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorJeroen Demeyer <J.Demeyer@UGent.be>2019-09-11 13:01:01 +0200
committerPetr Viktorin <encukou@gmail.com>2019-09-11 12:01:01 +0100
commit7a6873cdb1f496447ac5d57ae457eacbb56b7972 (patch)
treea2a7e401399f18067c5b41f24f86d8deaf7f22c6 /Tools
parent2d8d597bb8f882a7677db5a2739df0e617098634 (diff)
downloadcpython-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')
-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 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