invert condition (head bang)
This commit is contained in:
parent
8d5a62df10
commit
de5827dcd2
@ -537,7 +537,7 @@ new_identifier(const char* n, PyArena *arena)
|
|||||||
assert(PyUnicode_IS_READY(id));
|
assert(PyUnicode_IS_READY(id));
|
||||||
/* Check whether there are non-ASCII characters in the
|
/* Check whether there are non-ASCII characters in the
|
||||||
identifier; if so, normalize to NFKC. */
|
identifier; if so, normalize to NFKC. */
|
||||||
if (PyUnicode_IS_ASCII(id)) {
|
if (!PyUnicode_IS_ASCII(id)) {
|
||||||
PyObject *m = PyImport_ImportModuleNoBlock("unicodedata");
|
PyObject *m = PyImport_ImportModuleNoBlock("unicodedata");
|
||||||
PyObject *id2;
|
PyObject *id2;
|
||||||
if (!m) {
|
if (!m) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user