make documented file() kw names and actual ones agree (closes #15572)
Patch by Daniel Ellis.
This commit is contained in:
parent
decdb74227
commit
359b5032f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue