summaryrefslogtreecommitdiffstats
path: root/Objects/typeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r--Objects/typeobject.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index b6771d3..0a57991 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -4901,8 +4901,6 @@ type_setattro(PyTypeObject *type, PyObject *name, PyObject *value)
}
if (PyUnicode_Check(name)) {
if (PyUnicode_CheckExact(name)) {
- if (PyUnicode_READY(name) == -1)
- return -1;
Py_INCREF(name);
}
else {