Lines Matching refs:range
49 """Converts string to Unicode range.
58 Unicode range
61 InputError: the string is not a valid Unicode range.
70 return range(lo, hi + 1)
71 raise InputError("invalid Unicode range %s" % (s,))
97 Instead of giving an explicit range in a single table entry,
99 code value in the range and one for the last.
125 code ranges (using the .. notation and splitting the range across
158 first = None # first code in multiline range
159 expect_last = None # tag expected for "Last" line in multiline range
180 # to list a Unicode range. Either the first field is
181 # itself a range (0000..FFFF), or the range is split
188 # If the last line gave the First code in a range,
194 codes = range(first, codes[0] + 1)
200 # Otherwise, if this is the First code in a range,
203 raise InputError("bad First line: range given")