make documented file() kw names and actual ones agree (closes #15572)

Patch by Daniel Ellis.
This commit is contained in:
Benjamin Peterson 2012-08-07 11:57:47 -07:00
parent decdb74227
commit 359b5032f6
1 changed files with 1 additions and 1 deletions

View 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