diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-11-09 09:59:13 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-11-09 09:59:13 (GMT) |
commit | 922e904cca75577e213f0b9cf126003d251f2ada (patch) | |
tree | d085306299bd7c7380ca70dee6103cacb8e8ae80 /Modules | |
parent | 4fe519bf8db535ec9de732fd74d472820d7deb75 (diff) | |
download | cpython-922e904cca75577e213f0b9cf126003d251f2ada.zip cpython-922e904cca75577e213f0b9cf126003d251f2ada.tar.gz cpython-922e904cca75577e213f0b9cf126003d251f2ada.tar.bz2 |
Fix issue10324 - Modules/binascii.c: simplify expressions
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/binascii.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c index e44c251..01e8860 100644 --- a/Modules/binascii.c +++ b/Modules/binascii.c @@ -1337,8 +1337,7 @@ binascii_b2a_qp (PyObject *self, PyObject *args, PyObject *kwargs) ((data[in] == '\t' || data[in] == ' ') && (in + 1 == datalen)) || ((data[in] < 33) && (data[in] != '\r') && (data[in] != '\n') && - (quotetabs || - (!quotetabs && ((data[in] != '\t') && (data[in] != ' ')))))) + (quotetabs || ((data[in] != '\t') && (data[in] != ' '))))) { if ((linelen + 3) >= MAXLINESIZE) { linelen = 0; |