mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Rename _Py_identifier to _Py_IDENTIFIER.
This commit is contained in:
parent
01277d166a
commit
bd928fef42
57 changed files with 262 additions and 262 deletions
|
|
@ -86,7 +86,7 @@ insort_right(PyObject *self, PyObject *args, PyObject *kw)
|
|||
if (PyList_Insert(list, index, item) < 0)
|
||||
return NULL;
|
||||
} else {
|
||||
_Py_identifier(insert);
|
||||
_Py_IDENTIFIER(insert);
|
||||
|
||||
result = _PyObject_CallMethodId(list, &PyId_insert, "nO", index, item);
|
||||
if (result == NULL)
|
||||
|
|
@ -188,7 +188,7 @@ insort_left(PyObject *self, PyObject *args, PyObject *kw)
|
|||
if (PyList_Insert(list, index, item) < 0)
|
||||
return NULL;
|
||||
} else {
|
||||
_Py_identifier(insert);
|
||||
_Py_IDENTIFIER(insert);
|
||||
|
||||
result = _PyObject_CallMethodId(list, &PyId_insert, "iO", index, item);
|
||||
if (result == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue