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:35:18 +00:00
parent 7c5adf1710
commit 63553d1829
2 changed files with 3 additions and 2 deletions

View File

@ -66,6 +66,9 @@ Core and Builtins
Library Library
------- -------
- Issue #7597: curses.use_env() can now be called before initscr().
Noted by Kan-Ru Chen.
- Issue #7970: email.Generator.flatten now correctly flattens message/rfc822 - Issue #7970: email.Generator.flatten now correctly flattens message/rfc822
messages parsed by email.Parser.HeaderParser. messages parsed by email.Parser.HeaderParser.

View File

@ -2586,8 +2586,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))