summaryrefslogtreecommitdiff
path: root/Python/codecs.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/codecs.c
parent61693a2699ecb5351d3b1403c47a3de6f633de72 (diff)
downloadcpython-f5ad3b280b43227eb0e3fa63d89490a58ba9c28b.tar.gz
Rename _Py_identifier to _Py_IDENTIFIER.
Diffstat (limited to 'Python/codecs.c')
-rw-r--r--Python/codecs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/codecs.c b/Python/codecs.c
index 006d288b70..eca2b88bfb 100644
--- a/Python/codecs.c
+++ b/Python/codecs.c
@@ -467,8 +467,8 @@ PyObject *PyCodec_LookupError(const char *name)
static void wrong_exception_type(PyObject *exc)
{
- _Py_identifier(__class__);
- _Py_identifier(__name__);
+ _Py_IDENTIFIER(__class__);
+ _Py_IDENTIFIER(__name__);
PyObject *type = _PyObject_GetAttrId(exc, &PyId___class__);
if (type != NULL) {
PyObject *name = _PyObject_GetAttrId(type, &PyId___name__);