mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #19515: Remove identifiers duplicated in the same file.
Patch written by Andrei Dorian Duma.
This commit is contained in:
parent
dcf17f8a55
commit
3f36a5736b
5 changed files with 6 additions and 11 deletions
|
@ -5633,7 +5633,6 @@ slot_tp_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
|||
PyObject *func;
|
||||
PyObject *newargs, *x;
|
||||
Py_ssize_t i, n;
|
||||
_Py_IDENTIFIER(__new__);
|
||||
|
||||
func = _PyObject_GetAttrId((PyObject *)type, &PyId___new__);
|
||||
if (func == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue