Kaydet (Commit) e823933f authored tarafından Benjamin Peterson's avatar Benjamin Peterson

remove tautological condition (closes #22954)

üst 61aebca0
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment