while (1) -> while 1. Sorry.

This commit is contained in:
Guido van Rossum 1997-04-08 19:46:53 +00:00
parent 2ebaa1796e
commit 3ccd2f153f
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ def decode(in_file, out_file=None, mode=None):
# #
# Read until a begin is encountered or we've exhausted the file # Read until a begin is encountered or we've exhausted the file
# #
while (1): while 1:
hdr = in_file.readline() hdr = in_file.readline()
if not hdr: if not hdr:
raise Error, 'No valid begin line found in input file' raise Error, 'No valid begin line found in input file'