diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-12-04 09:30:24 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-12-04 09:30:24 +0100 |
commit | 2eb4e79d6cccfbbcb4b5416b73ea816c31d014fd (patch) | |
tree | 030decf3a3d3b7680c43c9ff4f14eab19dffaf53 /Python/Python-ast.c | |
parent | 2e540f952688de0d7b1a6f5926fb0ef695518eb6 (diff) | |
download | cpython-2eb4e79d6cccfbbcb4b5416b73ea816c31d014fd.tar.gz |
Cleanup unicodeobject.c
* Remove micro-optization:
(errors == "surrogateescape" || strcmp(errors, "surrogateescape") == 0).
Only use strcmp()
* Initialize 'arg' members in unicode_format_arg() to help the compiler to
diagnose real bugs and also make the code simpler to read
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions