]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add alias for old function name -- removing it broke Alexei Gilchrist's cfm
authorAndrew M. Kuchling <amk@amk.ca>
Sun, 20 Aug 2000 23:37:02 +0000 (23:37 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sun, 20 Aug 2000 23:37:02 +0000 (23:37 +0000)
Modules/_cursesmodule.c

index 3b171d5245df8769d492ebbbc9018593e785c7cb..8816901e05e59a754c0094d619c633cc253e15e4 100644 (file)
@@ -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},