Merged revisions 78318 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78318 | andrew.kuchling | 2010-02-22 11:26:47 -0500 (Mon, 22 Feb 2010) | 1 line

  #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:52:52 +00:00
parent 50363262b2
commit fbacb06c9d
2 changed files with 3 additions and 2 deletions

View File

@ -247,6 +247,9 @@ C-API
Library Library
------- -------
- Issue #7597: curses.use_env() can now be called before initscr().
Noted by Kan-Ru Chen.
- Issue #7310: fix the __repr__ of os.environ to show the environment variables. - Issue #7310: fix the __repr__ of os.environ to show the environment variables.
- Issue #7970: email.Generator.flatten now correctly flattens message/rfc822 - Issue #7970: email.Generator.flatten now correctly flattens message/rfc822

View File

@ -2659,8 +2659,6 @@ PyCurses_Use_Env(PyObject *self, PyObject *args)
{ {
int flag; int flag;
PyCursesInitialised
switch(PyTuple_Size(args)) { switch(PyTuple_Size(args)) {
case 1: case 1:
if (!PyArg_ParseTuple(args,"i;True(1), False(0)",&flag)) if (!PyArg_ParseTuple(args,"i;True(1), False(0)",&flag))