From a98e92bc1366ebfd062c2f20e21282fd72b466a4 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Sun, 20 Aug 2000 23:37:02 +0000 Subject: Add alias for old function name -- removing it broke Alexei Gilchrist's cfm --- Modules/_cursesmodule.c | 2 ++ 1 file changed, 2 insertions(+) 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}, -- cgit v0.12