Rename _Py_identifier to _Py_IDENTIFIER.
diff --git a/Python/import.c b/Python/import.c
index d937cc1..6e3e0f1 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -154,7 +154,7 @@
};
static PyObject *initstr = NULL;
-_Py_identifier(__path__);
+_Py_IDENTIFIER(__path__);
/* Initialize things */
@@ -248,7 +248,7 @@
PySys_WriteStderr("# can't import zipimport\n");
}
else {
- _Py_identifier(zipimporter);
+ _Py_IDENTIFIER(zipimporter);
PyObject *zipimporter = _PyObject_GetAttrId(zimpimport,
&PyId_zipimporter);
Py_DECREF(zimpimport);
@@ -1802,7 +1802,7 @@
/* sys.path_hooks import hook */
if (p_loader != NULL) {
- _Py_identifier(find_module);
+ _Py_IDENTIFIER(find_module);
PyObject *importer;
importer = get_path_importer(path_importer_cache,
@@ -2032,7 +2032,7 @@
/* sys.meta_path import hook */
if (p_loader != NULL) {
- _Py_identifier(find_module);
+ _Py_IDENTIFIER(find_module);
PyObject *meta_path;
meta_path = PySys_GetObject("meta_path");
@@ -2462,7 +2462,7 @@
break;
case IMP_HOOK: {
- _Py_identifier(load_module);
+ _Py_IDENTIFIER(load_module);
if (loader == NULL) {
PyErr_SetString(PyExc_ImportError,
"import hook without loader");
@@ -3227,7 +3227,7 @@
}
if (PyUnicode_READ_CHAR(item, 0) == '*') {
PyObject *all;
- _Py_identifier(__all__);
+ _Py_IDENTIFIER(__all__);
Py_DECREF(item);
/* See if the package defines __all__ */
if (recursive)