Mercurial > cpython-lru_cache-weakref
diff Python/codecs.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 | d76338eacf7c |
| children | 0883d6a103a0 |
line wrap: on
line diff
--- a/Python/codecs.c Fri Oct 14 12:53:10 2011 +0200 +++ b/Python/codecs.c Fri Oct 14 10:20:37 2011 +0200 @@ -467,8 +467,8 @@ 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__);
