Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d5a62d commit de5827dCopy full SHA for de5827d
1 file changed
Python/ast.c
@@ -537,7 +537,7 @@ new_identifier(const char* n, PyArena *arena)
537
assert(PyUnicode_IS_READY(id));
538
/* Check whether there are non-ASCII characters in the
539
identifier; if so, normalize to NFKC. */
540
- if (PyUnicode_IS_ASCII(id)) {
+ if (!PyUnicode_IS_ASCII(id)) {
541
PyObject *m = PyImport_ImportModuleNoBlock("unicodedata");
542
PyObject *id2;
543
if (!m) {
0 commit comments