diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-06-16 14:38:26 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-06-16 14:38:26 (GMT) |
commit | f185226244bdb3ead8c0ff44153d5ef5420464f1 (patch) | |
tree | fa80c4401aca29b5bccc2452c6df46183c4c7f0a /Lib/encodings/shift_jis.py | |
parent | 6319e0fa2037a70435dfba8c3be2c0db3ae8b7ec (diff) | |
download | cpython-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