From: Benjamin Peterson Date: Tue, 7 Aug 2012 18:57:47 +0000 (-0700) Subject: make documented file() kw names and actual ones agree (closes #15572) X-Git-Tag: v2.7.4rc1~660 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=359b5032f64588c09723eef7a600ceb8462e658e;p=thirdparty%2FPython%2Fcpython.git make documented file() kw names and actual ones agree (closes #15572) Patch by Daniel Ellis. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index dc8ee9a454dc..30ac614a3337 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -451,7 +451,7 @@ available. They are listed here in alphabetical order. used reliably to modify a function's locals. -.. function:: file(filename[, mode[, bufsize]]) +.. function:: file(name[, mode[, buffering]]) Constructor function for the :class:`file` type, described further in section :ref:`bltin-file-objects`. The constructor's arguments are the same as those