File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,17 +71,17 @@ \section{\module{dumbdbm} ---
7171
7272
7373\begin {funcdesc }{open}{filename\optional {, flag\optional {, mode}}}
74- Open the database file \var {filename} and return a corresponding object.
75- The optional \var {flag} argument can be
76- \code {'r'} to open an existing database for reading only,
77- \code {'w'} to open an existing database for reading and writing,
78- \code {'c'} to create the database if it doesn't exist, or
79- \code {'n'}, which will always create a new empty database. If not
80- specified, the default value is \code {'r'}.
74+ Open the database file \var {filename} and return a corresponding
75+ object. The \var {flag} argument, used to control how the database is
76+ opened in the other DBM implementations, is ignored in
77+ \module {dumbdbm}; the database is always opened for update, and will
78+ be created if it does not exist.
8179
8280The optional \var {mode} argument is the \UNIX {} mode of the file, used
8381only when the database has to be created. It defaults to octal
8482\code {0666} (and will be modified by the prevailing umask).
83+ \versionchanged [The \var {mode} argument was ignored in earlier
84+ versions]{2.2}
8585\end {funcdesc }
8686
8787\begin {excdesc }{error}
You can’t perform that action at this time.
0 commit comments