made the code match the comments (1.5.2 compatibility)
This commit is contained in:
parent
6f7c3431c8
commit
4fb7027ec0
|
@ -10,7 +10,7 @@
|
|||
|
||||
"""Internal support module for sre"""
|
||||
|
||||
import _sre,sys
|
||||
import _sre, sys
|
||||
|
||||
from sre_constants import *
|
||||
|
||||
|
@ -278,8 +278,8 @@ def _optimize_unicode(charset, fixup):
|
|||
new = comps.setdefault(chunk, block)
|
||||
mapping[i] = new
|
||||
if new == block:
|
||||
block += 1
|
||||
data += _mk_bitmap(chunk)
|
||||
block = block + 1
|
||||
data = data + _mk_bitmap(chunk)
|
||||
header = [block]
|
||||
assert MAXCODE == 65535
|
||||
for i in range(128):
|
||||
|
|
Loading…
Reference in New Issue