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 | 8813104e5340ca4f1a6988b33cc551e009bae16b (patch) | |
tree | 2fe0c3ca4aefcd30dcb8c700934e3e0023dec76e /Python | |
parent | 9e7a1bcfd6737de148dd99c953e1d079ad3f239a (diff) | |
download | cpython-git-8813104e5340ca4f1a6988b33cc551e009bae16b.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')
0 files changed, 0 insertions, 0 deletions