mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Fix argument name in reST doc to match the code
This commit is contained in:
parent
ad0790e573
commit
5c1a0c969d
1 changed files with 2 additions and 2 deletions
|
|
@ -30,9 +30,9 @@ the Oracle Berkeley DB.
|
|||
name, such as ``'dbm.ndbm'`` or ``'dbm.gnu'``.
|
||||
|
||||
|
||||
.. function:: open(filename, flag='r', mode=0o666)
|
||||
.. function:: open(file, flag='r', mode=0o666)
|
||||
|
||||
Open the database file *filename* and return a corresponding object.
|
||||
Open the database file *file* and return a corresponding object.
|
||||
|
||||
If the database file already exists, the :func:`whichdb` function is used to
|
||||
determine its type and the appropriate module is used; if it does not exist,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue