Mercurial > cpython-lru_cache-weakref
diff Python/ast.c @ 74447:ca5c5142da58
invert condition (head bang)
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Mon, 16 Jan 2012 09:55:53 -0500 |
| parents | 5ef589e38985 |
| children | 525188cb79fc |
line wrap: on
line diff
--- a/Python/ast.c Mon Jan 16 09:54:28 2012 -0500 +++ b/Python/ast.c Mon Jan 16 09:55:53 2012 -0500 @@ -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) {
