diff options
Diffstat (limited to 'Tools/unicode/mkstringprep.py')
-rw-r--r-- | Tools/unicode/mkstringprep.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/unicode/mkstringprep.py b/Tools/unicode/mkstringprep.py index 2525f9e..5be44c9 100644 --- a/Tools/unicode/mkstringprep.py +++ b/Tools/unicode/mkstringprep.py @@ -37,7 +37,7 @@ def compact_set(l): tuple.append((prev,prev+span+1)) else: single.append(prev) - tuple = " + ".join(["range(%d,%d)" % t for t in tuple]) + tuple = " + ".join(["list(range(%d,%d))" % t for t in tuple]) if not single: return "set(%s)" % tuple if not tuple: |