diff options
author | Éric Araujo <merwok@netwok.org> | 2011-04-20 17:11:12 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-04-20 17:11:12 (GMT) |
commit | 5c1a0c969d82670ba7aac7647b9828f4df85c1bd (patch) | |
tree | 02ba2c88073253b6f27ced6bc7b33636523b80b9 /Doc/library | |
parent | ad0790e5730173a6c649b59ae035549e3f2ba481 (diff) | |
download | cpython-5c1a0c969d82670ba7aac7647b9828f4df85c1bd.zip cpython-5c1a0c969d82670ba7aac7647b9828f4df85c1bd.tar.gz cpython-5c1a0c969d82670ba7aac7647b9828f4df85c1bd.tar.bz2 |
Fix argument name in reST doc to match the code
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/dbm.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/dbm.rst b/Doc/library/dbm.rst index c7c7347..cbefc1a 100644 --- a/Doc/library/dbm.rst +++ b/Doc/library/dbm.rst @@ -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, |