Skip to content

Commit 22baff6

Browse files
committed
Use %T
1 parent 97cf25c commit 22baff6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Objects/typeobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3516,8 +3516,8 @@ mro_check(PyTypeObject *type, PyObject *mro)
35163516
if (!is_subtype_with_mro(lookup_tp_mro(solid), solid, solid_base(base))) {
35173517
PyErr_Format(
35183518
PyExc_TypeError,
3519-
"%N.mro() returned base with unsuitable layout ('%.500s')",
3520-
type, base->tp_name);
3519+
"%N.mro() returned base with unsuitable layout ('%T')",
3520+
type, base);
35213521
return -1;
35223522
}
35233523
}

0 commit comments

Comments
 (0)