mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00: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
|
@ -767,7 +767,7 @@ static PyObject *
|
|||
deque_reduce(dequeobject *deque)
|
||||
{
|
||||
PyObject *dict, *result, *aslist;
|
||||
_Py_identifier(__dict__);
|
||||
_Py_IDENTIFIER(__dict__);
|
||||
|
||||
dict = _PyObject_GetAttrId((PyObject *)deque, &PyId___dict__);
|
||||
if (dict == NULL)
|
||||
|
@ -1335,7 +1335,7 @@ defdict_reduce(defdictobject *dd)
|
|||
PyObject *items;
|
||||
PyObject *iter;
|
||||
PyObject *result;
|
||||
_Py_identifier(items);
|
||||
_Py_IDENTIFIER(items);
|
||||
|
||||
if (dd->default_factory == NULL || dd->default_factory == Py_None)
|
||||
args = PyTuple_New(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue