summaryrefslogtreecommitdiff
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2011-10-14 10:20:37 +0200
committerMartin v. Löwis <martin@v.loewis.de>2011-10-14 10:20:37 +0200
commitf5ad3b280b43227eb0e3fa63d89490a58ba9c28b (patch)
treee770b84e397d28b1686fd80240ac862eb4b80d08 /Python/marshal.c
parent61693a2699ecb5351d3b1403c47a3de6f633de72 (diff)
downloadcpython-f5ad3b280b43227eb0e3fa63d89490a58ba9c28b.tar.gz
Rename _Py_identifier to _Py_IDENTIFIER.
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index b8288d0c1a..98bbbaff6b 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -480,7 +480,7 @@ r_string(char *s, int n, RFILE *p)
}
}
else {
- _Py_identifier(read);
+ _Py_IDENTIFIER(read);
PyObject *data = _PyObject_CallMethodId(p->readable, &PyId_read, "i", n);
read = 0;
@@ -1292,7 +1292,7 @@ marshal_dump(PyObject *self, PyObject *args)
int version = Py_MARSHAL_VERSION;
PyObject *s;
PyObject *res;
- _Py_identifier(write);
+ _Py_IDENTIFIER(write);
if (!PyArg_ParseTuple(args, "OO|i:dump", &x, &f, &version))
return NULL;
@@ -1321,7 +1321,7 @@ static PyObject *
marshal_load(PyObject *self, PyObject *f)
{
PyObject *data, *result;
- _Py_identifier(read);
+ _Py_IDENTIFIER(read);
RFILE rf;
/*