mirror of https://github.com/python/cpython
while (1) -> while 1. Sorry.
This commit is contained in:
parent
2ebaa1796e
commit
3ccd2f153f
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue