Skip to content

Commit eee3044

Browse files
author
Erlend E. Aasland
committed
Address review: don't truncate type names
1 parent 3f34237 commit eee3044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ type_repr(PyTypeObject *type)
10071007
PyObject *
10081008
_PyType_DisabledNew(PyTypeObject *type, PyObject *args, PyObject *kwds)
10091009
{
1010-
PyErr_Format(PyExc_TypeError, "cannot create '%.100s' instances",
1010+
PyErr_Format(PyExc_TypeError, "cannot create '%s' instances",
10111011
type->tp_name);
10121012
return NULL;
10131013
}

0 commit comments

Comments
 (0)