#7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen

This commit is contained in:
Andrew M. Kuchling 2010-02-22 16:26:47 +00:00
parent f5be4e612c
commit 38c123651c
1 changed files with 0 additions and 2 deletions

View 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))