invert condition (head bang)

This commit is contained in:
Benjamin Peterson 2012-01-16 09:55:53 -05:00
parent 8d5a62df10
commit de5827dcd2

View file

@ -537,7 +537,7 @@ new_identifier(const char* n, PyArena *arena)
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) {