summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-08-05 15:39:16 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-08-05 15:39:16 (GMT)
commit64ce5052e1c2495bcbc78f732e8ece2f4c8375ac (patch)
treebe92ddb8c857ddb4a0cd06439c025243d71ad403 /Doc
parent33d2689fc900a814f0a7d2f846abe0c34024ae17 (diff)
downloadcpython-64ce5052e1c2495bcbc78f732e8ece2f4c8375ac.zip
cpython-64ce5052e1c2495bcbc78f732e8ece2f4c8375ac.tar.gz
cpython-64ce5052e1c2495bcbc78f732e8ece2f4c8375ac.tar.bz2
Make bsddb use bytes as keys and values. Add StringKeys
and StringValues classes. Fix test suite.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libbsddb.tex11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/lib/libbsddb.tex b/Doc/lib/libbsddb.tex
index 793237b..8f23324 100644
--- a/Doc/lib/libbsddb.tex
+++ b/Doc/lib/libbsddb.tex
@@ -93,6 +93,17 @@ function. Consult the Berkeley DB documentation for their use and
interpretation.
\end{funcdesc}
+\begin{classdesc}{StringKeys}{db}
+ Wrapper class around a DB object that supports string keys
+ (rather than bytes). All keys are encoded as UTF-8, then passed
+ to the underlying object. \versionadded{3.0}
+\end{classdesc}
+
+\begin{classdesc}{StringValues}{db}
+ Wrapper class around a DB object that supports string values
+ (rather than bytes). All values are encoded as UTF-8, then passed
+ to the underlying object. \versionadded{3.0}
+\end{classdesc}
\begin{seealso}
\seemodule{dbhash}{DBM-style interface to the \module{bsddb}}