mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
parent
9722d7f142
commit
7612f1e36a
1 changed files with 2 additions and 2 deletions
|
@ -1518,8 +1518,8 @@ class Frame(object):
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
return 'PyCFunction invocation (unable to read "func")'
|
return 'PyCFunction invocation (unable to read "func")'
|
||||||
|
|
||||||
elif caller in {'_PyCFunction_FastCallDict',
|
elif caller in ('_PyCFunction_FastCallDict',
|
||||||
'_PyCFunction_FastCallKeywords'}:
|
'_PyCFunction_FastCallKeywords'):
|
||||||
try:
|
try:
|
||||||
func = older._gdbframe.read_var('func_obj')
|
func = older._gdbframe.read_var('func_obj')
|
||||||
return str(func)
|
return str(func)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue