From ae9f8bd2f99a0494f945d883bb1fb9d6638c4a24 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 27 Apr 2010 21:19:06 +0000 Subject: [PATCH] correct signature --- Lib/_pyio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 57cdc46b86e..1343f1bc7f0 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__)