mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
bpo-43950: make BinOp specializations more reliable (GH-27126)
This commit is contained in:
parent
074e7659f2
commit
919ad53751
3 changed files with 40 additions and 2 deletions
|
|
@ -496,7 +496,7 @@ class StackSummary(list):
|
|||
|
||||
try:
|
||||
anchors = _extract_caret_anchors_from_line_segment(
|
||||
frame._original_line[colno - 1:end_colno]
|
||||
frame._original_line[colno - 1:end_colno - 1]
|
||||
)
|
||||
except Exception:
|
||||
anchors = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue