Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c1a0c9

Browse files
committed
Fix argument name in reST doc to match the code
1 parent ad0790e commit 5c1a0c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/dbm.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ the Oracle Berkeley DB.
3030
name, such as ``'dbm.ndbm'`` or ``'dbm.gnu'``.
3131

3232

33-
.. function:: open(filename, flag='r', mode=0o666)
33+
.. function:: open(file, flag='r', mode=0o666)
3434

35-
Open the database file *filename* and return a corresponding object.
35+
Open the database file *file* and return a corresponding object.
3636

3737
If the database file already exists, the :func:`whichdb` function is used to
3838
determine its type and the appropriate module is used; if it does not exist,

0 commit comments

Comments
 (0)