Skip to content

Commit

Permalink
Update error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Jul 24, 2018
1 parent 8684e59 commit b072b9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Objects/moduleobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,8 @@ module_getattro(PyModuleObject *m, PyObject *name)
if (initializing > 0) {
PyErr_Format(PyExc_AttributeError,
"partially initialized "
"module '%U' has no attribute '%U'",
"module '%U' has no attribute '%U' "
"(most likely due to a circular import)",
mod_name, name);
}
else {
Expand Down

0 comments on commit b072b9b

Please sign in to comment.