[Python-checkins] cpython (2.7): make documented file() kw names and actual ones agree (closes #15572)
benjamin.peterson
python-checkins at python.org
Tue Aug 7 20:57:56 CEST 2012
http://hg.python.org/cpython/rev/db1b4aab53eb
changeset: 78461:db1b4aab53eb
branch: 2.7
parent: 78455:e057a7d18fa2
user: Benjamin Peterson <benjamin at python.org>
date: Tue Aug 07 11:57:47 2012 -0700
summary:
make documented file() kw names and actual ones agree (closes #15572)
Patch by Daniel Ellis.
files:
Doc/library/functions.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -451,7 +451,7 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list