remove tautological condition (closes #22954)
This commit is contained in:
parent
61aebca09d
commit
e823933f9f
|
@ -5342,7 +5342,7 @@ tp_new_wrapper(PyObject *self, PyObject *args, PyObject *kwds)
|
|||
"%s.__new__(%s) is not safe, use %s.__new__()",
|
||||
type->tp_name,
|
||||
subtype->tp_name,
|
||||
staticbase == NULL ? "?" : staticbase->tp_name);
|
||||
staticbase->tp_name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue