diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2002-04-23 02:11:05 (GMT) |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2002-04-23 02:11:05 (GMT) |
commit | 8388895fe43da057006e50cae5d1b6e2a12083e0 (patch) | |
tree | 4b4315181abceff4b1f0c1e32975ed88a7330665 /Doc/lib | |
parent | 0494955b8f88007df3038c0e3de92ac8b4558f77 (diff) | |
download | cpython-8388895fe43da057006e50cae5d1b6e2a12083e0.zip cpython-8388895fe43da057006e50cae5d1b6e2a12083e0.tar.gz cpython-8388895fe43da057006e50cae5d1b6e2a12083e0.tar.bz2 |
SF patch [ 545523 ] patch for 514433 bsddb.dbopen (NULL)
closes SF #514433
can now pass 'None' as the filename for the bsddb.*open functions,
and you'll get an in-memory temporary store.
docs are ripped out of the bsddb dbopen man page. Fred may want to
clean them up.
Considering this for 2.2, but not 2.1.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libbsddb.tex | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Doc/lib/libbsddb.tex b/Doc/lib/libbsddb.tex index 925e512..ff3d8e1 100644 --- a/Doc/lib/libbsddb.tex +++ b/Doc/lib/libbsddb.tex @@ -37,7 +37,9 @@ instances. ffactor\optional{, nelem\optional{, cachesize\optional{, hash\optional{, lorder}}}}}}}}} -Open the hash format file named \var{filename}. The optional +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), \character{w} (read-write), \character{c} (read-write - create if necessary) or @@ -51,7 +53,9 @@ for their use and interpretation. mode\optional{, btflags\optional{, cachesize\optional{, maxkeypage\optional{, minkeypage\optional{, psize\optional{, lorder}}}}}}}}} -Open the btree format file named \var{filename}. The optional +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), \character{w} (read-write), \character{c} (read-write - create if necessary) or @@ -65,7 +69,9 @@ interpretation. rnflags\optional{, cachesize\optional{, psize\optional{, lorder\optional{, reclen\optional{, bval\optional{, bfname}}}}}}}}}} -Open a DB record format file named \var{filename}. The optional +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), \character{w} (read-write), \character{c} (read-write - create if necessary) or |