Whitespace normalization.

This commit is contained in:
Tim Peters 2001-01-14 23:36:06 +00:00
parent 752d3f557e
commit 88869f9787
16 changed files with 1168 additions and 1170 deletions

View File

@ -94,7 +94,7 @@ DEFAULTSECT = "DEFAULT"
MAX_INTERPOLATION_DEPTH = 10
# exception classes
class Error(Exception):
def __init__(self, msg=''):
@ -166,7 +166,7 @@ class MissingSectionHeaderError(ParsingError):
self.line = line
class ConfigParser:
def __init__(self, defaults=None):
self.__sections = {}

View File

@ -165,4 +165,3 @@ class Chunk:
dummy = self.read(n)
if not dummy:
raise EOFError

View File

@ -138,4 +138,3 @@ def test():
print x, fix(x, digs), sci(x, digs)
except (EOFError, KeyboardInterrupt):
pass

View File

@ -569,7 +569,7 @@ def ftpcp(source, sourcename, target, targetname = '', type = 'I'):
source.voidresp()
target.voidresp()
class Netrc:
"""Class to parse & provide access to 'netrc' format files.
@ -676,7 +676,7 @@ class Netrc:
return self.__macros[macro]
def test():
'''Test program.
Usage: ftp [-d] [-r[file]] host [-l[dir]] [-d[dir]] [-p] [file] ...'''