From: Benjamin Peterson Date: Thu, 27 Nov 2014 05:03:11 +0000 (-0600) Subject: remove tautological condition (closes #22954) X-Git-Tag: v3.4.3rc1~304 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e823933f9f625607c1c17bb5ac174a0c1595875d;p=python remove tautological condition (closes #22954) --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 55fd450c46..3b1d189195 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -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; }