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:
try:
data = file.read()
data = file.read(size)
break
except InterruptedError:
continue