diff options
author | Nicolas Barbey <=> | 2014-09-25 17:09:31 +0200 |
---|---|---|
committer | Nicolas Barbey <=> | 2014-09-25 17:09:31 +0200 |
commit | 1bdf07f66846539a0817321be53ad88acb90f037 (patch) | |
tree | ad2cb40b5f1f726f98a47295dbe308b2487c5472 | |
parent | 3058af546292dc6b8fa1bccd9bdbbb29d43dff55 (diff) | |
download | cython-1bdf07f66846539a0817321be53ad88acb90f037.tar.gz |
Fix unicode handling
--HG--
extra : transplant_source : %E4%89i%BE%1F%A4%29M%B5%3A2vK%8C%3E%93%EF1%A8%83
-rw-r--r-- | Cython/Plex/Machines.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Plex/Machines.py b/Cython/Plex/Machines.py index e0c22c43b..50dccbdce 100644 --- a/Cython/Plex/Machines.py +++ b/Cython/Plex/Machines.py @@ -178,7 +178,7 @@ class FastMachine(object): state['else'] = new_state elif code1 != maxint: while code0 < code1: - state[chr(code0)] = new_state + state[unichr(code0)] = new_state code0 = code0 + 1 else: state[event] = new_state |