summaryrefslogtreecommitdiffstats
path: root/Modules/_elementtree.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2011-10-14 08:20:37 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2011-10-14 08:20:37 (GMT)
commitbd928fef428e48084ff29ece0e21d07ad86d0793 (patch)
tree0fd61d271dabb554cc4824e7e80b4c6d915f6ae2 /Modules/_elementtree.c
parent01277d166a993742814c772d01987fbaafb528d4 (diff)
downloadcpython-bd928fef428e48084ff29ece0e21d07ad86d0793.zip
cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.tar.gz
cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.tar.bz2
Rename _Py_identifier to _Py_IDENTIFIER.
Diffstat (limited to 'Modules/_elementtree.c')
-rw-r--r--Modules/_elementtree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
index fcd1271..1fb6038 100644
--- a/Modules/_elementtree.c
+++ b/Modules/_elementtree.c
@@ -797,7 +797,7 @@ element_find(ElementObject* self, PyObject* args)
return NULL;
if (checkpath(tag) || namespaces != Py_None) {
- _Py_identifier(find);
+ _Py_IDENTIFIER(find);
return _PyObject_CallMethodId(
elementpath_obj, &PyId_find, "OOO", self, tag, namespaces
);
@@ -825,7 +825,7 @@ element_findtext(ElementObject* self, PyObject* args)
PyObject* tag;
PyObject* default_value = Py_None;
PyObject* namespaces = Py_None;
- _Py_identifier(findtext);
+ _Py_IDENTIFIER(findtext);
if (!PyArg_ParseTuple(args, "O|OO:findtext", &tag, &default_value, &namespaces))
return NULL;
@@ -868,7 +868,7 @@ element_findall(ElementObject* self, PyObject* args)
return NULL;
if (checkpath(tag) || namespaces != Py_None) {
- _Py_identifier(findall);
+ _Py_IDENTIFIER(findall);
return _PyObject_CallMethodId(
elementpath_obj, &PyId_findall, "OOO", self, tag, namespaces
);
@@ -900,7 +900,7 @@ element_iterfind(ElementObject* self, PyObject* args)
{
PyObject* tag;
PyObject* namespaces = Py_None;
- _Py_identifier(iterfind);
+ _Py_IDENTIFIER(iterfind);
if (!PyArg_ParseTuple(args, "O|O:iterfind", &tag, &namespaces))
return NULL;