[Python-checkins] cpython (3.1): Fix argument name in reST doc to match the code

eric.araujo python-checkins at python.org
Wed Apr 27 16:37:53 CEST 2011


http://hg.python.org/cpython/rev/acaec4d48023
changeset:   69603:acaec4d48023
branch:      3.1
user:        Éric Araujo <merwok at netwok.org>
date:        Wed Apr 20 19:11:12 2011 +0200
summary:
  Fix argument name in reST doc to match the code

files:
  Doc/library/dbm.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/dbm.rst b/Doc/library/dbm.rst
--- a/Doc/library/dbm.rst
+++ b/Doc/library/dbm.rst
@@ -30,9 +30,9 @@
    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,

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list