Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a98e92b

Browse files
committed
Add alias for old function name -- removing it broke Alexei Gilchrist's cfm
1 parent 120beb6 commit a98e92b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Modules/_cursesmodule.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,6 +1270,8 @@ static PyMethodDef PyCursesWindow_Methods[] = {
12701270
{"nodelay", (PyCFunction)PyCursesWindow_nodelay},
12711271
{"notimeout", (PyCFunction)PyCursesWindow_notimeout},
12721272
{"noutrefresh", (PyCFunction)PyCursesWindow_NoOutRefresh},
1273+
/* Backward compatibility alias -- remove in Python 2.1 */
1274+
{"nooutrefresh", (PyCFunction)PyCursesWindow_NoOutRefresh},
12731275
{"putwin", (PyCFunction)PyCursesWindow_PutWin},
12741276
{"redrawln", (PyCFunction)PyCursesWindow_RedrawLine},
12751277
{"redrawwin", (PyCFunction)PyCursesWindow_redrawwin},

0 commit comments

Comments
 (0)