We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0576ebe commit 04baa56Copy full SHA for 04baa56
1 file changed
Lib/traceback.py
@@ -974,9 +974,9 @@ def setup_positions(expr, force_valid=True):
974
_WIDE_CHAR_SPECIFIERS = "WF"
975
976
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."""
+ """Calculate the amount of width space the given source
+ code segment might take if it were to be displayed on a fixed
+ width output device. Supports wide unicode characters and emojis."""
980
981
if offset is None:
982
offset = len(line)
0 commit comments