diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-08-20 23:37:02 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-08-20 23:37:02 (GMT) |
commit | a98e92bc1366ebfd062c2f20e21282fd72b466a4 (patch) | |
tree | 6ec805c56fa9220074c81eb894865809f5f25f60 | |
parent | 120beb6b6711b824ec637feb53e555e3f3cfb4cf (diff) | |
download | cpython-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.c | 2 |
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}, |