mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
remove tautological condition (closes #22954)
This commit is contained in:
parent
61aebca09d
commit
e823933f9f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue