summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-08-20 21:48:00 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-08-20 21:48:00 (GMT)
commit7c005af91540415f3550b2bd1a606e310d8355a5 (patch)
tree28ef7f1c68b0833b082297e2100dd1035eb44b1b /Lib
parent02035bc68d99e291e4c41ea0ea17536bb4ea95b9 (diff)
downloadcpython-7c005af91540415f3550b2bd1a606e310d8355a5.zip
cpython-7c005af91540415f3550b2bd1a606e310d8355a5.tar.gz
cpython-7c005af91540415f3550b2bd1a606e310d8355a5.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/asyncore.py2
-rw-r--r--Lib/compilerlike.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py
index 8761365..fb30d0e 100644
--- a/Lib/asyncore.py
+++ b/Lib/asyncore.py
@@ -54,7 +54,7 @@ import types
import os
from errno import EALREADY, EINPROGRESS, EWOULDBLOCK, ECONNRESET, \
- ENOTCONN, ESHUTDOWN
+ ENOTCONN, ESHUTDOWN
try:
socket_map
diff --git a/Lib/compilerlike.py b/Lib/compilerlike.py
index f9a2e81..52fe4a2 100644
--- a/Lib/compilerlike.py
+++ b/Lib/compilerlike.py
@@ -44,7 +44,7 @@ def filefilter(name, arguments, trans_data, trans_filename=None):
trans_data(name, "stdin", sys.stdin, sys.stdout)
else:
for file in arguments:
- if file == '-': # - is conventional for stdin
+ if file == '-': # - is conventional for stdin
file = "stdin"
infp = sys.stdin
else:
@@ -77,7 +77,7 @@ def line_by_line(name, file, infp, outfp, translate_line):
line = infp.readline()
if line == "":
break
- elif line: # None returns are skipped
+ elif line: # None returns are skipped
outfp.write(translate_line(name, file, line))
def linefilter(name, arguments, trans_data, trans_filename=None):