mirror of
https://github.com/python/cpython.git
synced 2025-09-13 20:27:05 +00:00
More PyImport_ImportModule -> PyImport_ImportModuleNoBlock
This commit is contained in:
parent
072c0f1b7e
commit
819b8bf403
4 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue