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 | 8dbd421b4d48d31891d159d8c581ea7c0b15226d (patch) | |
tree | 6c204ad876aa635f413b8856ce91bcbc8e89a201 /Python/thread_pthread.h | |
parent | d45c7f8d74d30de0a558b10e04541b861428b7c1 (diff) | |
download | cpython-git-8dbd421b4d48d31891d159d8c581ea7c0b15226d.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/thread_pthread.h')
0 files changed, 0 insertions, 0 deletions