commit | e2defc4132fd0254b8c437c946dd6b311d4664c3 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed Nov 26 23:03:11 2014 -0600 |
committer | Benjamin Peterson <benjamin@python.org> | Wed Nov 26 23:03:11 2014 -0600 |
tree | fd6f3f5f78bfa02e1b5cbf4704259e6885058854 | |
parent | 2e26a62363a86abcaaa5e484637effaad687f79f [diff] |
remove tautological condition (closes #22954)
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index d0ac3ac..619ac9b 100644 --- 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; }