Mercurial > cpython-lru_cache-weakref
diff Modules/parsermodule.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 | 81380082d216 |
| children | d64ac9ab4cd0 |
line wrap: on
line diff
--- a/Modules/parsermodule.c Fri Oct 14 12:53:10 2011 +0200 +++ b/Modules/parsermodule.c Fri Oct 14 10:20:37 2011 +0200 @@ -3241,9 +3241,9 @@ copyreg = PyImport_ImportModuleNoBlock("copyreg"); if (copyreg != NULL) { PyObject *func, *pickler; - _Py_identifier(pickle); - _Py_identifier(sequence2st); - _Py_identifier(_pickler); + _Py_IDENTIFIER(pickle); + _Py_IDENTIFIER(sequence2st); + _Py_IDENTIFIER(_pickler); func = _PyObject_GetAttrId(copyreg, &PyId_pickle); pickle_constructor = _PyObject_GetAttrId(module, &PyId_sequence2st);
