Mercurial > cpython-lru_cache-weakref
diff Python/_warnings.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 | 81380082d216 |
| children | db4aa878cea2 |
line wrap: on
line diff
--- a/Python/_warnings.c Fri Oct 14 12:53:10 2011 +0200 +++ b/Python/_warnings.c Fri Oct 14 10:20:37 2011 +0200 @@ -18,7 +18,7 @@ check_matched(PyObject *obj, PyObject *arg) { PyObject *result; - _Py_identifier(match); + _Py_IDENTIFIER(match); int rc; if (obj == Py_None) @@ -247,7 +247,7 @@ PyObject *f_stderr; PyObject *name; char lineno_str[128]; - _Py_identifier(__name__); + _Py_IDENTIFIER(__name__); PyOS_snprintf(lineno_str, sizeof(lineno_str), ":%d: ", lineno);
