mirror of
https://github.com/python/cpython.git
synced 2026-06-21 10:34:26 -04:00
PEP 810 - Update some error strings (#150126)
This commit is contained in:
+1
-1
@@ -4049,7 +4049,7 @@ error:
|
||||
|
||||
// Create a cause exception showing where the lazy import was declared.
|
||||
PyObject *msg = PyUnicode_FromFormat(
|
||||
"deferred import of '%U' raised an exception during resolution",
|
||||
"lazy import of '%U' raised an exception during resolution",
|
||||
import_name
|
||||
);
|
||||
Py_DECREF(import_name); // Done with import_name.
|
||||
|
||||
Reference in New Issue
Block a user