summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unicode.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-06-26 23:12:25 (GMT)
committerGuido van Rossum <guido@python.org>2001-06-26 23:12:25 (GMT)
commit236d8b79748fec890d57ad0dd99ea3f1c3ba57df (patch)
treeb3bc91c83678cfe36dd672d787dafd04c303f7d8 /Lib/test/test_unicode.py
parent9b14ab367a2e6de589593be6b9bea6f688c17d60 (diff)
downloadcpython-236d8b79748fec890d57ad0dd99ea3f1c3ba57df.zip
cpython-236d8b79748fec890d57ad0dd99ea3f1c3ba57df.tar.gz
cpython-236d8b79748fec890d57ad0dd99ea3f1c3ba57df.tar.bz2
Cosmetic changes to MvL's change to unichr():
- the correct range for the error message is range(0x110000); - put the 4-byte Unicode-size code inside the same else branch as the 2-byte code, rather generating unreachable code in the 2-byte case. - Don't hide the 'else' behine the '}'. (I would prefer that in 4-byte mode, any value should be accepted, but reasonable people can argue about that, so I'll put that off.)
Diffstat (limited to 'Lib/test/test_unicode.py')
0 files changed, 0 insertions, 0 deletions