We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97cf25c commit 22baff6Copy full SHA for 22baff6
1 file changed
Objects/typeobject.c
@@ -3516,8 +3516,8 @@ mro_check(PyTypeObject *type, PyObject *mro)
3516
if (!is_subtype_with_mro(lookup_tp_mro(solid), solid, solid_base(base))) {
3517
PyErr_Format(
3518
PyExc_TypeError,
3519
- "%N.mro() returned base with unsuitable layout ('%.500s')",
3520
- type, base->tp_name);
+ "%N.mro() returned base with unsuitable layout ('%T')",
+ type, base);
3521
return -1;
3522
}
3523
0 commit comments