diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-10-17 11:21:34 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-10-17 11:31:31 +0300 |
commit | 09691831380ca7c15cfed3445465e27837c4130d (patch) | |
tree | 230283a3041728afefff825e1e5fb6da019eeb3e /contrib/python/ipython/py3/IPython/core/ultratb.py | |
parent | 68f2bcc600fc15fb8400346624c43d6be3ec81b2 (diff) | |
download | ydb-09691831380ca7c15cfed3445465e27837c4130d.tar.gz |
Intermediate changes
commit_hash:2d9a1d3a3501b70a635f24b69a195c83059b71da
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core/ultratb.py')
-rw-r--r-- | contrib/python/ipython/py3/IPython/core/ultratb.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/python/ipython/py3/IPython/core/ultratb.py b/contrib/python/ipython/py3/IPython/core/ultratb.py index 15c835f4d2..e38ef29c7d 100644 --- a/contrib/python/ipython/py3/IPython/core/ultratb.py +++ b/contrib/python/ipython/py3/IPython/core/ultratb.py @@ -830,8 +830,8 @@ class VerboseTB(TBTools): traceback, to be used with alternate interpreters (because their own code would appear in the traceback).""" - _tb_highlight = "" - _tb_highlight_style = "default" + tb_highlight = "" + tb_highlight_style = "default" def __init__( self, @@ -1133,8 +1133,8 @@ class VerboseTB(TBTools): after = context // 2 before = context - after if self.has_colors: - style = get_style_by_name(self._tb_highlight_style) - style = stack_data.style_with_executing_node(style, self._tb_highlight) + style = get_style_by_name(self.tb_highlight_style) + style = stack_data.style_with_executing_node(style, self.tb_highlight) formatter = Terminal256Formatter(style=style) else: formatter = None |