mirror of
https://github.com/python/cpython.git
synced 2025-10-22 06:32:43 +00:00
Remove stray comments.
This commit is contained in:
parent
1c7a0ea056
commit
f75d9fce16
1 changed files with 0 additions and 1 deletions
|
@ -1654,7 +1654,6 @@ type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds)
|
||||||
/* Are slots allowed? */
|
/* Are slots allowed? */
|
||||||
nslots = PyTuple_GET_SIZE(slots);
|
nslots = PyTuple_GET_SIZE(slots);
|
||||||
if (nslots > 0 && base->tp_itemsize != 0) {
|
if (nslots > 0 && base->tp_itemsize != 0) {
|
||||||
/* for the special case of meta types, allow slots */
|
|
||||||
PyErr_Format(PyExc_TypeError,
|
PyErr_Format(PyExc_TypeError,
|
||||||
"nonempty __slots__ "
|
"nonempty __slots__ "
|
||||||
"not supported for subtype of '%s'",
|
"not supported for subtype of '%s'",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue