PEP 475: simplify example

This commit is contained in:
Victor Stinner 2014-07-28 12:50:14 +02:00
parent 854b477894
commit 838e2c816f
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ years to cover a whole module. Example of code retrying
while True: while True:
try: try:
data = file.read() data = file.read(size)
break break
except InterruptedError: except InterruptedError:
continue continue