Commit a4d63124 authored by Tim Peters's avatar Tim Peters

Repair "module has no attribute xxx" error msg; bug introduced when

switching from tp_getattr to tp_getattro.
parent 0e6c7905
......@@ -180,7 +180,7 @@ module_getattro(PyModuleObject *m, PyObject *name)
}
PyErr_Format(PyExc_AttributeError,
"'%.50s' module has no attribute '%.400s'",
modname, name);
modname, sname);
}
else
Py_INCREF(res);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment