Skip to content

Commit

Permalink
another py27 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
jquast committed Nov 7, 2023
1 parent 80a864b commit cc77a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wcwidth/wcwidth.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def wcswidth(pwcs, n=None, unicode_version='auto'):
# Zero Width Joiner, do not measure this or next character
idx += 2
continue
if char == '\uFE0F' and last_measured_char:
if char == u'\uFE0F' and last_measured_char:
# on variation selector 16 (VS16) following another character,
# conditionally add '1' to the measured width if that character is
# known to be converted from narrow to wide by the VS16 character.
Expand Down

0 comments on commit cc77a62

Please sign in to comment.