diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-13 01:12:01 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-13 01:12:01 +0200 |
commit | 428b34be19bd0cea231f58f966d8ed705b8c793e (patch) | |
tree | d6949ce7bde299984769383683391781d23eea6e /Python/errors.c | |
parent | 9dce9fb0a889e85411eea860e2a781dbfd8462a6 (diff) | |
download | cpython-428b34be19bd0cea231f58f966d8ed705b8c793e.tar.gz |
Simplify PyUnicode_MAX_CHAR_VALUE
Use PyUnicode_IS_ASCII instead of PyUnicode_IS_COMPACT_ASCII, so the following
test can be removed:
PyUnicode_DATA(op) == (((PyCompactUnicodeObject *)(op))->utf8)
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions