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