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
Next Next commit
Update Objects/typeobject.c
  • Loading branch information
vstinner authored Apr 30, 2021
commit 817b8cffead36600e61db0edb3bee4408dbbd50f
2 changes: 1 addition & 1 deletion Objects/typeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -3951,7 +3951,7 @@ type_setattro(PyTypeObject *type, PyObject *name, PyObject *value)
if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
PyErr_Format(
PyExc_TypeError,
"cannot set '%R' attribute of immutable type '%s'",
"cannot set %R attribute of immutable type '%s'",
name, type->tp_name);
return -1;
}
Expand Down