mirror of https://github.com/python/cpython
#7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen
This commit is contained in:
parent
f5be4e612c
commit
38c123651c
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue