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 | e2defc4132fd0254b8c437c946dd6b311d4664c3 (patch) | |
tree | fd6f3f5f78bfa02e1b5cbf4704259e6885058854 /Objects | |
parent | 2e26a62363a86abcaaa5e484637effaad687f79f (diff) | |
download | cpython-e2defc4132fd0254b8c437c946dd6b311d4664c3.zip cpython-e2defc4132fd0254b8c437c946dd6b311d4664c3.tar.gz cpython-e2defc4132fd0254b8c437c946dd6b311d4664c3.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 d0ac3ac..619ac9b 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -4798,7 +4798,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; } |