Skip to content

Commit 04baa56

Browse files
committed
Avoid unnecessary word placement moves.
1 parent 0576ebe commit 04baa56

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/traceback.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -974,9 +974,9 @@ def setup_positions(expr, force_valid=True):
974974
_WIDE_CHAR_SPECIFIERS = "WF"
975975

976976
def _display_width(line, offset=None):
977-
"""Calculate the amount of width space the given source code
978-
segment might take if it were to be displayed on a fixed width
979-
output device. Supports wide unicode characters and emojis."""
977+
"""Calculate the amount of width space the given source
978+
code segment might take if it were to be displayed on a fixed
979+
width output device. Supports wide unicode characters and emojis."""
980980

981981
if offset is None:
982982
offset = len(line)

0 commit comments

Comments
 (0)