Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Objects/lazyimportobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ PyDoc_STRVAR(lazy_import_doc,
"lazy_import(builtins, name, fromlist=None, /)\n"
"--\n"
"\n"
"Represents a deferred import that will be resolved on first use.\n"
"Represents a lazy import that will be resolved on first use.\n"
"\n"
"Instances of this object accessed from the global scope will be\n"
"automatically imported based upon their name and then replaced with\n"
Expand Down
2 changes: 1 addition & 1 deletion Python/import.c
Original file line number Diff line number Diff line change
Expand Up @@ -4055,7 +4055,7 @@ _PyImport_LoadLazyImportTstate(PyThreadState *tstate, PyObject *lazy_import)

// 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.
Expand Down
Loading