Mercurial > cpython-lru_cache-weakref
diff Modules/_bisectmodule.c @ 72925:7109f31300fb
Rename _Py_identifier to _Py_IDENTIFIER.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Fri, 14 Oct 2011 10:20:37 +0200 |
| parents | 5e33219492bc |
| children | 1a9252280f07 |
line wrap: on
line diff
--- a/Modules/_bisectmodule.c Fri Oct 14 12:53:10 2011 +0200 +++ b/Modules/_bisectmodule.c Fri Oct 14 10:20:37 2011 +0200 @@ -86,7 +86,7 @@ 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 @@ 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)
