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