bpo-43950: make BinOp specializations more reliable (GH-27126)

This commit is contained in:
Batuhan Taskaya 2021-07-16 02:38:11 +03:00 committed by GitHub
parent 074e7659f2
commit 919ad53751
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 2 deletions

View file

@ -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