From 7a6873cdb1f496447ac5d57ae457eacbb56b7972 Mon Sep 17 00:00:00 2001 From: Jeroen Demeyer Date: Wed, 11 Sep 2019 13:01:01 +0200 Subject: 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. --- Tools/gdb/libpython.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tools') 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 -- cgit v1.2.1