diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-11-07 00:12:30 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-11-07 00:12:30 +0100 |
commit | 05bfe3160e622f7d33904a12c89fe0a155222fff (patch) | |
tree | 5cb82a475851e99c7e3db7d61c54c20f6db56b98 /Python/errors.c | |
parent | 135c0994eb3f5f03becece2d14750e915ff262eb (diff) | |
download | cpython-05bfe3160e622f7d33904a12c89fe0a155222fff.tar.gz |
print_exception(): don't encode the module name to UTF-8
Replace _PyUnicode_AsString()+strcmp() with PyUnicode_CompareWithASCIIString().
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions