summaryrefslogtreecommitdiffstats
path: root/Lib/curses/__init__.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-18 06:16:08 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-07-18 06:16:08 (GMT)
commit182b5aca27d376b08a2904bed42b751496f932f3 (patch)
treedf13115820dbc879c0fe2eae488c9f8c0215a7da /Lib/curses/__init__.py
parente6ddc8b20b493fef2e7cffb2e1351fe1d238857e (diff)
downloadcpython-182b5aca27d376b08a2904bed42b751496f932f3.zip
cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.gz
cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.bz2
Whitespace normalization, via reindent.py.
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 1838de8..aba540b 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
-