Home | History | Annotate | Download | only in Lib

Lines Matching full:fixup

101                 def fixup(literal, flags=flags):
105 fixup = None
107 _compile_charset(av, flags, code, fixup, fixes)
228 def _compile_charset(charset, flags, code, fixup=None, fixes=None):
231 for op, av in _optimize_charset(charset, fixup, fixes,
256 def _optimize_charset(charset, fixup, fixes, isunicode):
265 if fixup:
266 i = fixup(av)
275 if fixup:
276 r = map(fixup, r)
277 if fixup and fixes:
296 if fixup and isunicode and op is RANGE:
302 ranges, fixup)
336 if fixup or len(out) < len(charset):
391 def _fixup_range(lo, hi, ranges, fixup):
392 for i in map(fixup, range(lo, hi+1)):