summaryrefslogtreecommitdiff
path: root/Tools/gdb/libpython.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/gdb/libpython.py')
-rwxr-xr-xTools/gdb/libpython.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index cca9741ced..4f45256188 100755
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -1540,10 +1540,7 @@ class Frame(object):
if caller in ('_PyCFunction_FastCallDict',
'_PyCFunction_FastCallKeywords'):
- if caller == '_PyCFunction_FastCallKeywords':
- arg_name = 'func_obj'
- else:
- arg_name = 'func'
+ arg_name = 'func'
# Within that frame:
# "func" is the local containing the PyObject* of the
# PyCFunctionObject instance