diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-01-16 14:55:53 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-01-16 14:55:53 (GMT) |
commit | de5827dcd29c47c9fa09a942040ab3c787c5d35b (patch) | |
tree | 8fd2b4e9531996cdb04650d8ce75f210d266398a /Python/ast.c | |
parent | 8d5a62df106febf18e6c3d8ae6aec31b874ba9fe (diff) | |
download | cpython-de5827dcd29c47c9fa09a942040ab3c787c5d35b.zip cpython-de5827dcd29c47c9fa09a942040ab3c787c5d35b.tar.gz cpython-de5827dcd29c47c9fa09a942040ab3c787c5d35b.tar.bz2 |
invert condition (head bang)
Diffstat (limited to 'Python/ast.c')
-rw-r--r-- | Python/ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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) { |