summaryrefslogtreecommitdiffstats
path: root/Python/_warnings.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2011-10-14 08:20:37 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2011-10-14 08:20:37 (GMT)
commitbd928fef428e48084ff29ece0e21d07ad86d0793 (patch)
tree0fd61d271dabb554cc4824e7e80b4c6d915f6ae2 /Python/_warnings.c
parent01277d166a993742814c772d01987fbaafb528d4 (diff)
downloadcpython-bd928fef428e48084ff29ece0e21d07ad86d0793.zip
cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.tar.gz
cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.tar.bz2
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 ebc9cb8..6fcc128 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);