cpython (3.4): remove tautological condition (closes #22954)
https://hg.python.org/cpython/rev/a498e599ce6a changeset: 93611:a498e599ce6a branch: 3.4 parent: 93609:6fce36de7916 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 @@ -5342,7 +5342,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