[error] also exclude frames starting with '<frozen'
This commit is contained in:
parent
3e88ed9438
commit
ebd1fbdfbf
@ -52,7 +52,7 @@ def format_stacktrace(
|
|||||||
stacklevel: int = 1,
|
stacklevel: int = 1,
|
||||||
*,
|
*,
|
||||||
skip_file_prefixes: tuple[str, ...] = (MASQUE_DIR,),
|
skip_file_prefixes: tuple[str, ...] = (MASQUE_DIR,),
|
||||||
low_file_prefixes: tuple[str, ...] = ('<runpy', '<string>'),
|
low_file_prefixes: tuple[str, ...] = ('<frozen', '<runpy', '<string>'),
|
||||||
low_file_suffixes: tuple[str, ...] = ('IPython/utils/py3compat.py', ),
|
low_file_suffixes: tuple[str, ...] = ('IPython/utils/py3compat.py', ),
|
||||||
) -> str:
|
) -> str:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user