summaryrefslogtreecommitdiff
path: root/Python/_warnings.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/_warnings.c
parent61693a2699ecb5351d3b1403c47a3de6f633de72 (diff)
downloadcpython-f5ad3b280b43227eb0e3fa63d89490a58ba9c28b.tar.gz
Rename _Py_identifier to _Py_IDENTIFIER.
Diffstat (limited to 'Python/_warnings.c')
-rw-r--r--Python/_warnings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c
index ebc9cb808c..6fcc128fb6 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -18,7 +18,7 @@ static int
check_matched(PyObject *obj, PyObject *arg)
{
PyObject *result;
- _Py_identifier(match);
+ _Py_IDENTIFIER(match);
int rc;
if (obj == Py_None)
@@ -247,7 +247,7 @@ show_warning(PyObject *filename, int lineno, PyObject *text, PyObject
PyObject *f_stderr;
PyObject *name;
char lineno_str[128];
- _Py_identifier(__name__);
+ _Py_IDENTIFIER(__name__);
PyOS_snprintf(lineno_str, sizeof(lineno_str), ":%d: ", lineno);