Whitespace normalization, via reindent.py.

This commit is contained in:
Tim Peters 2004-07-18 06:16:08 +00:00
parent e6ddc8b20b
commit 182b5aca27
453 changed files with 31318 additions and 31452 deletions

View file

@ -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