Commit de5827dc authored by Benjamin Peterson's avatar Benjamin Peterson

invert condition (head bang)

parent 8d5a62df
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment