summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-08-07 18:57:47 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-08-07 18:57:47 (GMT)
commit359b5032f64588c09723eef7a600ceb8462e658e (patch)
tree4f5d33d545a9d0d7434b942735bef9a9db9a0333 /Doc
parentdecdb74227c3f4d791642f1496447b99b8ac7816 (diff)
downloadcpython-359b5032f64588c09723eef7a600ceb8462e658e.zip
cpython-359b5032f64588c09723eef7a600ceb8462e658e.tar.gz
cpython-359b5032f64588c09723eef7a600ceb8462e658e.tar.bz2
make documented file() kw names and actual ones agree (closes #15572)
Patch by Daniel Ellis.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index dc8ee9a..30ac614 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