def __init__(self, *,
warnings: Optional[bool]=None,
highlight: Optional[bool]=None,
frame_context_length: int=50):
self._show_warnings = self._env_bool(warnings, 'PY_DEVTOOLS_WARNINGS', True)
self._highlight = self._env_bool(highlight, 'PY_DEVTOOLS_HIGHLIGHT', None)
# 50 lines should be enough to make sure we always get the entire function definition
self._frame_context_length = frame_context_length
评论列表
文章目录