From: Éric Araujo Date: Wed, 20 Apr 2011 17:11:12 +0000 (+0200) Subject: Fix argument name in reST doc to match the code X-Git-Tag: v3.2.1b1~71^2~4^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c1a0c969d82670ba7aac7647b9828f4df85c1bd;p=python Fix argument name in reST doc to match the code --- diff --git a/Doc/library/dbm.rst b/Doc/library/dbm.rst index c7c73475eb..cbefc1aa11 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,