[Python-checkins] peps: PEP 475: simplify example
victor.stinner
python-checkins at python.org
Mon Jul 28 12:50:20 CEST 2014
http://hg.python.org/peps/rev/395b68e3f933
changeset: 5509:395b68e3f933
user: Victor Stinner <victor.stinner at gmail.com>
date: Mon Jul 28 12:50:14 2014 +0200
summary:
PEP 475: simplify example
files:
pep-0475.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pep-0475.txt b/pep-0475.txt
--- a/pep-0475.txt
+++ b/pep-0475.txt
@@ -68,7 +68,7 @@
while True:
try:
- data = file.read()
+ data = file.read(size)
break
except InterruptedError:
continue
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list