mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +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
|
@ -3241,9 +3241,9 @@ PyInit_parser(void)
|
|||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue