diff options
author | Batuhan Taskaya <batuhan@python.org> | 2021-07-15 23:38:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 23:38:11 (GMT) |
commit | 919ad537510fdc2c750109e0bc4eceea234324b2 (patch) | |
tree | 203dc2bd7d3beeb8623027e0fbead3addac15808 /Lib/traceback.py | |
parent | 074e7659f208051b6b973f7fdb654dd22b93aaa2 (diff) | |
download | cpython-919ad537510fdc2c750109e0bc4eceea234324b2.zip cpython-919ad537510fdc2c750109e0bc4eceea234324b2.tar.gz cpython-919ad537510fdc2c750109e0bc4eceea234324b2.tar.bz2 |
bpo-43950: make BinOp specializations more reliable (GH-27126)
Diffstat (limited to 'Lib/traceback.py')
-rw-r--r-- | Lib/traceback.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/traceback.py b/Lib/traceback.py index ec5e20d..40d736a 100644 --- a/Lib/traceback.py +++ b/Lib/traceback.py @@ -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 |