Skip to content

Commit 578fb9f

Browse files
committed
unichr -> chr
1 parent 3bd6001 commit 578fb9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

textile/regex_strings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
except ImportError:
2020
from sys import maxunicode
2121
upper_re_s = "".join(
22-
[unichr(c) for c in range(maxunicode) if unichr(c).isupper()]
22+
[chr(c) for c in range(maxunicode) if chr(c).isupper()]
2323
)
2424
regex_snippets = {
2525
'acr': r'{0}0-9'.format(upper_re_s),

0 commit comments

Comments
 (0)