make documented file() kw names and actual ones agree (closes #15572)
authorBenjamin Peterson <benjamin@python.org>
Tue, 7 Aug 2012 18:57:47 +0000 (11:57 -0700)
committerBenjamin Peterson <benjamin@python.org>
Tue, 7 Aug 2012 18:57:47 +0000 (11:57 -0700)
Patch by Daniel Ellis.

Doc/library/functions.rst

index dc8ee9a454dc57e1669fa65832d2407fc540edfc..30ac614a33376eacec41c87f4ef0fee13f19cbb5 100644 (file)
@@ -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