summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorTrent Nelson <trent@trent.me>2012-10-17 22:08:16 (GMT)
committerTrent Nelson <trent@trent.me>2012-10-17 22:08:16 (GMT)
commitdd35500073739c8b697dac7a84f323d5854cee39 (patch)
tree2fa2928ed415116c69ebfeacf461829c666ae320 /Tools
parentecbe2a91850516e41715885e6688e31935ed8f2c (diff)
parente60983e4a5f1294ef887f0a7df0d011f5569ed4e (diff)
downloadcpython-dd35500073739c8b697dac7a84f323d5854cee39.zip
cpython-dd35500073739c8b697dac7a84f323d5854cee39.tar.gz
cpython-dd35500073739c8b697dac7a84f323d5854cee39.tar.bz2
Merge heads.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/unicode/comparecodecs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/unicode/comparecodecs.py b/Tools/unicode/comparecodecs.py
index 7de14fd..6525ddf 100644
--- a/Tools/unicode/comparecodecs.py
+++ b/Tools/unicode/comparecodecs.py
@@ -30,7 +30,7 @@ def compare_codecs(encoding1, encoding2):
mismatch += 1
# Check decoding
for i in range(256):
- c = chr(i)
+ c = bytes([i])
try:
u1 = c.decode(encoding1)
except UnicodeError: