From 838e2c816fb1e3663017ba7b3ec519e9ba246f0a Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 28 Jul 2014 12:50:14 +0200 Subject: [PATCH] PEP 475: simplify example --- pep-0475.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0475.txt b/pep-0475.txt index b089ed519..16093e5f4 100644 --- a/pep-0475.txt +++ b/pep-0475.txt @@ -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