added comment about parsing_range

Former-commit-id: 7706496080
This commit is contained in:
Joshua Chin 2015-07-10 14:27:48 -04:00
parent 6dee3054de
commit 821fbb1b02

View File

@ -14,6 +14,8 @@ def func_to_regex(accept_func):
return a regex character class accepting the characters resulting in True.
Ranges separated only by unassigned characters are merged for efficiency.
"""
# parsing_range is True if the current codepoint might be in a range that
# the regex will accept
parsing_range = False
ranges = []