From: Fred Drake Date: Mon, 26 Jul 2004 16:32:30 +0000 (+0000) Subject: fix information about what flag database files are opened with by default X-Git-Tag: v2.3.5c1~152 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1efec024b81ae0d114b564be673d79ba946a807f;p=thirdparty%2FPython%2Fcpython.git fix information about what flag database files are opened with by default --- diff --git a/Doc/lib/libbsddb.tex b/Doc/lib/libbsddb.tex index ffafeae73e90..65791dee6683 100644 --- a/Doc/lib/libbsddb.tex +++ b/Doc/lib/libbsddb.tex @@ -54,8 +54,8 @@ Open the hash format file named \var{filename}. Files never intended to be preserved on disk may be created by passing \code{None} as the \var{filename}. The optional \var{flag} identifies the mode used to open the file. It may be -\character{r} (read only, default), \character{w} (read-write) , -\character{c} (read-write - create if necessary) or +\character{r} (read only), \character{w} (read-write), +\character{c} (read-write - create if necessary, default) or \character{n} (read-write - truncate to zero length). The other arguments are rarely used and are just passed to the low-level \cfunction{dbopen()} function. Consult the Berkeley DB documentation @@ -70,8 +70,8 @@ Open the btree format file named \var{filename}. Files never intended to be preserved on disk may be created by passing \code{None} as the \var{filename}. The optional \var{flag} identifies the mode used to open the file. It may be -\character{r} (read only, default), \character{w} (read-write), -\character{c} (read-write - create if necessary) or +\character{r} (read only), \character{w} (read-write), +\character{c} (read-write - create if necessary, default) or \character{n} (read-write - truncate to zero length). The other arguments are rarely used and are just passed to the low-level dbopen function. Consult the Berkeley DB documentation for their use and @@ -86,8 +86,8 @@ Open a DB record format file named \var{filename}. Files never intended to be preserved on disk may be created by passing \code{None} as the \var{filename}. The optional \var{flag} identifies the mode used to open the file. It may be -\character{r} (read only, default), \character{w} (read-write), -\character{c} (read-write - create if necessary) or +\character{r} (read only), \character{w} (read-write), +\character{c} (read-write - create if necessary; the default) or \character{n} (read-write - truncate to zero length). The other arguments are rarely used and are just passed to the low-level dbopen function. Consult the Berkeley DB documentation for their use and