commit | de5827dcd29c47c9fa09a942040ab3c787c5d35b | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Mon Jan 16 09:55:53 2012 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Mon Jan 16 09:55:53 2012 -0500 |
tree | 8fd2b4e9531996cdb04650d8ce75f210d266398a | |
parent | 8d5a62df106febf18e6c3d8ae6aec31b874ba9fe [diff] [blame] |
invert condition (head bang)
diff --git a/Python/ast.c b/Python/ast.c index c70073c..78b4126 100644 --- a/Python/ast.c +++ b/Python/ast.c
@@ -537,7 +537,7 @@ assert(PyUnicode_IS_READY(id)); /* Check whether there are non-ASCII characters in the identifier; if so, normalize to NFKC. */ - if (PyUnicode_IS_ASCII(id)) { + if (!PyUnicode_IS_ASCII(id)) { PyObject *m = PyImport_ImportModuleNoBlock("unicodedata"); PyObject *id2; if (!m) {