summaryrefslogtreecommitdiffstats
path: root/Modules/_cursesmodule.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 /Modules/_cursesmodule.c
parent01277d166a993742814c772d01987fbaafb528d4 (diff)
downloadcpython-bd928fef428e48084ff29ece0e21d07ad86d0793.zip
cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.tar.gz
cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.tar.bz2
Rename _Py_identifier to _Py_IDENTIFIER.
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r--Modules/_cursesmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 7c89acc..dddaa3a 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -1418,7 +1418,7 @@ PyCursesWindow_PutWin(PyCursesWindowObject *self, PyObject *stream)
while (1) {
char buf[BUFSIZ];
Py_ssize_t n = fread(buf, 1, BUFSIZ, fp);
- _Py_identifier(write);
+ _Py_IDENTIFIER(write);
if (n <= 0)
break;
@@ -1913,7 +1913,7 @@ PyCurses_GetWin(PyCursesWindowObject *self, PyObject *stream)
WINDOW *win;
PyCursesInitialised;
- _Py_identifier(read);
+ _Py_IDENTIFIER(read);
strcpy(fn, "/tmp/py.curses.getwin.XXXXXX");
fd = mkstemp(fn);