Whitespace normalization.

This commit is contained in:
Tim Peters 2001-01-15 00:50:52 +00:00
parent fa25a7d51f
commit 2344fae6d0
17 changed files with 3022 additions and 3024 deletions

View file

@ -89,4 +89,3 @@ class netrc:
if __name__ == '__main__': if __name__ == '__main__':
print netrc() print netrc()

View file

@ -34,7 +34,7 @@ import socket
import string import string
# Exceptions raised when an error or invalid response is received # Exceptions raised when an error or invalid response is received
class NNTPError(Exception): class NNTPError(Exception):
"""Base class for all nntplib exceptions""" """Base class for all nntplib exceptions"""
@ -73,7 +73,7 @@ error_proto = NNTPProtocolError
error_data = NNTPDataError error_data = NNTPDataError
# Standard port used by NNTP servers # Standard port used by NNTP servers
NNTP_PORT = 119 NNTP_PORT = 119
@ -86,7 +86,7 @@ LONGRESP = ['100', '215', '220', '221', '222', '224', '230', '231', '282']
CRLF = '\r\n' CRLF = '\r\n'
# The class itself # The class itself
class NNTP: class NNTP:
def __init__(self, host, port=NNTP_PORT, user=None, password=None, def __init__(self, host, port=NNTP_PORT, user=None, password=None,

View file

@ -523,4 +523,3 @@ def count_calls(callers):
def f8(x): def f8(x):
return string.rjust(fpformat.fix(x, 3), 8) return string.rjust(fpformat.fix(x, 3), 8)