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 974389d commit c24c810Copy full SHA for c24c810
1 file changed
Python/import.c
@@ -2620,7 +2620,7 @@ PyImport_ImportModuleNoBlock(const char *name)
2620
}
2621
else {
2622
PyErr_Format(PyExc_ImportError,
2623
- "Failed to import %U because the import lock"
+ "Failed to import %R because the import lock"
2624
"is held by another thread.",
2625
nameobj);
2626
result = NULL;
@@ -3285,7 +3285,7 @@ PyImport_ReloadModule(PyObject *m)
3285
parent = PyDict_GetItem(modules, parentname);
3286
if (parent == NULL) {
3287
3288
- "reload(): parent %U not in sys.modules",
+ "reload(): parent %R not in sys.modules",
3289
parentname);
3290
Py_DECREF(parentname);
3291
imp_modules_reloading_clear();
0 commit comments