summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-08-20 23:37:02 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-08-20 23:37:02 (GMT)
commita98e92bc1366ebfd062c2f20e21282fd72b466a4 (patch)
tree6ec805c56fa9220074c81eb894865809f5f25f60
parent120beb6b6711b824ec637feb53e555e3f3cfb4cf (diff)
downloadcpython-a98e92bc1366ebfd062c2f20e21282fd72b466a4.zip
cpython-a98e92bc1366ebfd062c2f20e21282fd72b466a4.tar.gz
cpython-a98e92bc1366ebfd062c2f20e21282fd72b466a4.tar.bz2
Add alias for old function name -- removing it broke Alexei Gilchrist's cfm
-rw-r--r--Modules/_cursesmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 3b171d5..8816901 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -1270,6 +1270,8 @@ static PyMethodDef PyCursesWindow_Methods[] = {
{"nodelay", (PyCFunction)PyCursesWindow_nodelay},
{"notimeout", (PyCFunction)PyCursesWindow_notimeout},
{"noutrefresh", (PyCFunction)PyCursesWindow_NoOutRefresh},
+ /* Backward compatibility alias -- remove in Python 2.1 */
+ {"nooutrefresh", (PyCFunction)PyCursesWindow_NoOutRefresh},
{"putwin", (PyCFunction)PyCursesWindow_PutWin},
{"redrawln", (PyCFunction)PyCursesWindow_RedrawLine},
{"redrawwin", (PyCFunction)PyCursesWindow_redrawwin},