http://hg.python.org/cpython/rev/ced9602a3710 changeset: 82821:ced9602a3710 user: R David Murray <rdmurray at bitdance.com> date: Wed Mar 20 00:15:20 2013 -0400 summary: Use logic operator, not bitwise operator, for conditional. files: Modules/_csv.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Modules/_csv.c b/Modules/_csv.c --- a/Modules/_csv.c +++ b/Modules/_csv.c @@ -644,7 +644,7 @@ break; case ESCAPED_CHAR: - if (c == '\n' | c=='\r') { + if (c == '\n' || c=='\r') { if (parse_add_char(self, c) < 0) return -1; self->state = AFTER_ESCAPED_CRNL; -- Repository URL: http://hg.python.org/cpython