From 38c123651c4eb04ea093162ecdcbd217eb125341 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Mon, 22 Feb 2010 16:26:47 +0000 Subject: #7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen --- Modules/_cursesmodule.c | 2 -- 1 file changed, 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)) -- cgit v0.12