summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-11-26 23:03:11 -0600
committerBenjamin Peterson <benjamin@python.org>2014-11-26 23:03:11 -0600
commite823933f9f625607c1c17bb5ac174a0c1595875d (patch)
treec6072ea60c59f7b73af82e1c08f311efe7e52fc4
parent61aebca09da7080b7920d6fa7befdb7d760ca9e6 (diff)
downloadcpython-git-e823933f9f625607c1c17bb5ac174a0c1595875d.tar.gz
remove tautological condition (closes #22954)
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
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;
}