diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 87613652881..fb30d0e1d0c 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 f9a2e819dd4..52fe4a2e198 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):