Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Update Objects/moduleobject.c
  • Loading branch information
serhiy-storchaka authored Dec 18, 2023
commit 5e27a8f7f170a0ec9753bbd099637aef508b8dfc
3 changes: 2 additions & 1 deletion Objects/moduleobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,8 @@ _Py_module_getattro_impl(PyModuleObject *m, PyObject *name, int suppress)
"(most likely due to a circular import)",
mod_name, origin, name);
Py_DECREF(origin);
} else {
}
else {
PyErr_Format(PyExc_AttributeError,
"partially initialized "
"module '%U' has no attribute '%U' "
Expand Down