summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/typeobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index f251179..60c4fbc 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -1654,7 +1654,6 @@ type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds)
/* Are slots allowed? */
nslots = PyTuple_GET_SIZE(slots);
if (nslots > 0 && base->tp_itemsize != 0) {
- /* for the special case of meta types, allow slots */
PyErr_Format(PyExc_TypeError,
"nonempty __slots__ "
"not supported for subtype of '%s'",