summaryrefslogtreecommitdiff
path: root/Lib/curses/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/curses/__init__.py')
-rw-r--r--Lib/curses/__init__.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/Lib/curses/__init__.py b/Lib/curses/__init__.py
index 1838de8a69..aba540b70e 100644
--- a/Lib/curses/__init__.py
+++ b/Lib/curses/__init__.py
@@ -7,7 +7,7 @@ the package, and perhaps a particular module inside it.
from curses import textpad
curses.initwin()
...
-
+
"""
__revision__ = "$Id$"
@@ -29,13 +29,13 @@ def initscr():
for key, value in _curses.__dict__.items():
if key[0:4] == 'ACS_' or key in ('LINES', 'COLS'):
setattr(curses, key, value)
-
+
return stdscr
# This is a similar wrapper for start_color(), which adds the COLORS and
# COLOR_PAIRS variables which are only available after start_color() is
# called.
-
+
def start_color():
import _curses, curses
retval = _curses.start_color()
@@ -43,7 +43,7 @@ def start_color():
curses.COLORS = _curses.COLORS
if hasattr(_curses, 'COLOR_PAIRS'):
curses.COLOR_PAIRS = _curses.COLOR_PAIRS
- return retval
+ return retval
# Import Python has_key() implementation if _curses doesn't contain has_key()
@@ -51,4 +51,3 @@ try:
has_key
except NameError:
from has_key import has_key
-