summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/microprotocols.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/_sqlite/microprotocols.c
parent01277d166a993742814c772d01987fbaafb528d4 (diff)
downloadcpython-bd928fef428e48084ff29ece0e21d07ad86d0793.zip
cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.tar.gz
cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.tar.bz2
Rename _Py_identifier to _Py_IDENTIFIER.
Diffstat (limited to 'Modules/_sqlite/microprotocols.c')
-rw-r--r--Modules/_sqlite/microprotocols.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_sqlite/microprotocols.c b/Modules/_sqlite/microprotocols.c
index c0f5e22..2261b80 100644
--- a/Modules/_sqlite/microprotocols.c
+++ b/Modules/_sqlite/microprotocols.c
@@ -95,7 +95,7 @@ pysqlite_microprotocols_adapt(PyObject *obj, PyObject *proto, PyObject *alt)
/* try to have the protocol adapt this object*/
if (PyObject_HasAttrString(proto, "__adapt__")) {
- _Py_identifier(__adapt__);
+ _Py_IDENTIFIER(__adapt__);
PyObject *adapted = _PyObject_CallMethodId(proto, &PyId___adapt__, "O", obj);
if (adapted) {
@@ -112,7 +112,7 @@ pysqlite_microprotocols_adapt(PyObject *obj, PyObject *proto, PyObject *alt)
/* and finally try to have the object adapt itself */
if (PyObject_HasAttrString(obj, "__conform__")) {
- _Py_identifier(__conform__);
+ _Py_IDENTIFIER(__conform__);
PyObject *adapted = _PyObject_CallMethodId(obj, &PyId___conform__,"O", proto);
if (adapted) {