File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -580,7 +580,7 @@ def format_frame_summary(self, frame_summary, **kwargs):
580
580
show_carets = False
581
581
with suppress (Exception ):
582
582
anchors = _extract_caret_anchors_from_line_segment (segment )
583
- show_carets = self .should_show_carets (start_offset , end_offset , all_lines , anchors )
583
+ show_carets = self ._should_show_carets (start_offset , end_offset , all_lines , anchors )
584
584
585
585
result = []
586
586
@@ -694,7 +694,7 @@ def output_line(lineno):
694
694
695
695
return '' .join (row )
696
696
697
- def should_show_carets (self , start_offset , end_offset , all_lines , anchors ):
697
+ def _should_show_carets (self , start_offset , end_offset , all_lines , anchors ):
698
698
with suppress (SyntaxError , ImportError ):
699
699
import ast
700
700
tree = ast .parse ('\n ' .join (all_lines ))
You can’t perform that action at this time.
0 commit comments