From: Benjamin Peterson Date: Tue, 27 Apr 2010 21:19:06 +0000 (+0000) Subject: correct signature X-Git-Tag: v2.7b2~174 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae9f8bd2f99a0494f945d883bb1fb9d6638c4a24;p=python correct signature --- diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 57cdc46b86..1343f1bc7f 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__)