summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/shift_jis.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-06-16 14:38:26 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2012-06-16 14:38:26 (GMT)
commitf185226244bdb3ead8c0ff44153d5ef5420464f1 (patch)
treefa80c4401aca29b5bccc2452c6df46183c4c7f0a /Lib/encodings/shift_jis.py
parent6319e0fa2037a70435dfba8c3be2c0db3ae8b7ec (diff)
downloadcpython-f185226244bdb3ead8c0ff44153d5ef5420464f1.zip
cpython-f185226244bdb3ead8c0ff44153d5ef5420464f1.tar.gz
cpython-f185226244bdb3ead8c0ff44153d5ef5420464f1.tar.bz2
_copy_characters(): move debug code at the top to avoid noisy #ifdef
And don't use assert() anymore if check_maxchar is set: return -1 on error instead.
Diffstat (limited to 'Lib/encodings/shift_jis.py')
0 files changed, 0 insertions, 0 deletions