summaryrefslogtreecommitdiff
path: root/Python/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ast.c')
-rw-r--r--Python/ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast.c b/Python/ast.c
index 3169de9216..97486c5515 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -56,7 +56,7 @@ new_identifier(const char* n, PyArena *arena)
identifier; if so, normalize to NFKC. */
for (; *u; u++) {
if (*u >= 128) {
- PyObject *m = PyImport_ImportModule("unicodedata");
+ PyObject *m = PyImport_ImportModuleNoBlock("unicodedata");
PyObject *id2;
if (!m)
return NULL;