Add alias for old function name -- removing it broke Alexei Gilchrist's cfm

This commit is contained in:
Andrew M. Kuchling 2000-08-20 23:37:02 +00:00
parent 120beb6b67
commit a98e92bc13
1 changed files with 2 additions and 0 deletions

View 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},