diff options
| author | Benjamin Peterson <benjamin@python.org> | 2012-01-16 09:55:53 -0500 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2012-01-16 09:55:53 -0500 |
| commit | efbeeaa49dc5a86e0d0d0a977a958c0010e42492 (patch) | |
| tree | 32f49550ff505209babcc59f0020968ad5abda25 /Python/ast.c | |
| parent | 1a41082daf00906dab3f6f74226fc98267704670 (diff) | |
| download | cpython-efbeeaa49dc5a86e0d0d0a977a958c0010e42492.tar.gz | |
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 c70073cdab..78b4126cdf 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) { |
