diff Python/marshal.c @ 72925:7109f31300fb

Rename _Py_identifier to _Py_IDENTIFIER.
author Martin v. Löwis <martin@v.loewis.de>
date Fri, 14 Oct 2011 10:20:37 +0200
parents 5e33219492bc
children b1303cf15e01
line wrap: on
line diff
--- a/Python/marshal.c	Fri Oct 14 12:53:10 2011 +0200
+++ b/Python/marshal.c	Fri Oct 14 10:20:37 2011 +0200
@@ -480,7 +480,7 @@
         }
     }
     else {
-        _Py_identifier(read);
+        _Py_IDENTIFIER(read);
 
         PyObject *data = _PyObject_CallMethodId(p->readable, &PyId_read, "i", n);
         read = 0;
@@ -1292,7 +1292,7 @@
     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 @@
 marshal_load(PyObject *self, PyObject *f)
 {
     PyObject *data, *result;
-    _Py_identifier(read);
+    _Py_IDENTIFIER(read);
     RFILE rf;
 
     /*