]> granicus.if.org Git - python/commitdiff
#7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen
authorAndrew M. Kuchling <amk@amk.ca>
Mon, 22 Feb 2010 16:26:47 +0000 (16:26 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Mon, 22 Feb 2010 16:26:47 +0000 (16:26 +0000)
Modules/_cursesmodule.c

index 53fa432dc02f4b5b9be596f31d913ef26c9836e1..4ba2853d94f109e09fcee2595561f6230c68f3bc 100644 (file)
@@ -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))