cpython (2.7): remove tautological condition (closes #22954)
https://hg.python.org/cpython/rev/ec21b41e588b changeset: 93613:ec21b41e588b branch: 2.7 parent: 93606:3f5ac9f43027 user: Benjamin Peterson <benjamin@python.org> date: Wed Nov 26 23:03:11 2014 -0600 summary: remove tautological condition (closes #22954) files: Objects/typeobject.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -4798,7 +4798,7 @@ "%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; } -- Repository URL: https://hg.python.org/cpython
participants (1)
-
benjamin.peterson