summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-04-27 21:19:06 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-04-27 21:19:06 (GMT)
commitae9f8bd2f99a0494f945d883bb1fb9d6638c4a24 (patch)
tree0c257a56a710ce9ed7124f4baf88e259b53111f2
parent27737259b49fe39789bb59fefc86fff9e2e37daf (diff)
downloadcpython-ae9f8bd2f99a0494f945d883bb1fb9d6638c4a24.zip
cpython-ae9f8bd2f99a0494f945d883bb1fb9d6638c4a24.tar.gz
cpython-ae9f8bd2f99a0494f945d883bb1fb9d6638c4a24.tar.bz2
correct signature
-rw-r--r--Lib/_pyio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_pyio.py b/Lib/_pyio.py
index 57cdc46..1343f1b 100644
--- a/Lib/_pyio.py
+++ b/Lib/_pyio.py
@@ -229,7 +229,7 @@ class DocDescriptor:
"""
def __get__(self, obj, typ):
return (
- "open(file, mode='r', buffering=None, encoding=None, "
+ "open(file, mode='r', buffering=-1, encoding=None, "
"errors=None, newline=None, closefd=True)\n\n" +
open.__doc__)