diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-11-27 05:03:11 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-11-27 05:03:11 (GMT) |
commit | e823933f9f625607c1c17bb5ac174a0c1595875d (patch) | |
tree | c6072ea60c59f7b73af82e1c08f311efe7e52fc4 /Objects | |
parent | 61aebca09da7080b7920d6fa7befdb7d760ca9e6 (diff) | |
download | cpython-e823933f9f625607c1c17bb5ac174a0c1595875d.zip cpython-e823933f9f625607c1c17bb5ac174a0c1595875d.tar.gz cpython-e823933f9f625607c1c17bb5ac174a0c1595875d.tar.bz2 |
remove tautological condition (closes #22954)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 55fd450..3b1d189 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; } |