]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix information about what flag database files are opened with by default
authorFred Drake <fdrake@acm.org>
Mon, 26 Jul 2004 16:32:30 +0000 (16:32 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 26 Jul 2004 16:32:30 +0000 (16:32 +0000)
Doc/lib/libbsddb.tex

index ffafeae73e908ca9ae785703d40a7f5e62e090e4..65791dee6683a314e6d5ab151f11183569756c80 100644 (file)
@@ -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