mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
#7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen
This commit is contained in:
parent
f5be4e612c
commit
38c123651c
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue