Skip to content

Commit 64887d7

Browse files
committed
remove tautological condition (closes #22954)
1 parent 4012f4e commit 64887d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4798,7 +4798,7 @@ tp_new_wrapper(PyObject *self, PyObject *args, PyObject *kwds)
47984798
"%s.__new__(%s) is not safe, use %s.__new__()",
47994799
type->tp_name,
48004800
subtype->tp_name,
4801-
staticbase == NULL ? "?" : staticbase->tp_name);
4801+
staticbase->tp_name);
48024802
return NULL;
48034803
}
48044804

0 commit comments

Comments
 (0)