diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2010-02-22 16:26:47 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2010-02-22 16:26:47 (GMT) |
commit | 38c123651c4eb04ea093162ecdcbd217eb125341 (patch) | |
tree | c320a7645e97ae2f3ce596962f164fe504398c2b /Modules/_cursesmodule.c | |
parent | f5be4e612c41c2b01cc0a71dec0f3f8ff0e6aee6 (diff) | |
download | cpython-38c123651c4eb04ea093162ecdcbd217eb125341.zip cpython-38c123651c4eb04ea093162ecdcbd217eb125341.tar.gz cpython-38c123651c4eb04ea093162ecdcbd217eb125341.tar.bz2 |
#7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r-- | Modules/_cursesmodule.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 53fa432..4ba2853 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -2590,8 +2590,6 @@ PyCurses_Use_Env(PyObject *self, PyObject *args) { int flag; - PyCursesInitialised - switch(PyTuple_Size(args)) { case 1: if (!PyArg_ParseTuple(args,"i;True(1), False(0)",&flag)) |