PEP 475: simplify example
This commit is contained in:
parent
854b477894
commit
838e2c816f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue