diff options
author | Jesus Cea <jcea@jcea.es> | 2008-05-22 15:27:38 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2008-05-22 15:27:38 (GMT) |
commit | ca3939cd52664cce10283cb47b360f1df1552fa0 (patch) | |
tree | 64bcf50336b2a496963fb7f11f0ff7d1bac3f9c1 /Lib/bsddb | |
parent | 9a8af2df23a9e96ce5034b42c9f22ffdb7e033f8 (diff) | |
download | cpython-ca3939cd52664cce10283cb47b360f1df1552fa0.zip cpython-ca3939cd52664cce10283cb47b360f1df1552fa0.tar.gz cpython-ca3939cd52664cce10283cb47b360f1df1552fa0.tar.bz2 |
bsddb module updated to version 4.7.0
Diffstat (limited to 'Lib/bsddb')
-rw-r--r-- | Lib/bsddb/db.py | 2 | ||||
-rw-r--r-- | Lib/bsddb/dbtables.py | 4 | ||||
-rw-r--r-- | Lib/bsddb/test/test_sequence.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Lib/bsddb/db.py b/Lib/bsddb/db.py index 3bd0c8b..57bb46e 100644 --- a/Lib/bsddb/db.py +++ b/Lib/bsddb/db.py @@ -48,4 +48,4 @@ else: from _bsddb import __version__ if version() < (3, 2, 0): - raise ImportError, "correct BerkeleyDB symbols not found. Perhaps python was statically linked with an older version?" + raise ImportError, "correct Berkeley DB symbols not found. Perhaps python was statically linked with an older version?" diff --git a/Lib/bsddb/dbtables.py b/Lib/bsddb/dbtables.py index babe97c..27028d3 100644 --- a/Lib/bsddb/dbtables.py +++ b/Lib/bsddb/dbtables.py @@ -13,7 +13,7 @@ # -- Gregory P. Smith <greg@krypto.org> # This provides a simple database table interface built on top of -# the Python BerkeleyDB 3 interface. +# the Python Berkeley DB 3 interface. # _cvsid = '$Id$' @@ -139,7 +139,7 @@ class bsdTableDB : recover=0, dbflags=0): """bsdTableDB(filename, dbhome, create=0, truncate=0, mode=0600) - Open database name in the dbhome BerkeleyDB directory. + Open database name in the dbhome Berkeley DB directory. Use keyword arguments when calling this constructor. """ self.db = None diff --git a/Lib/bsddb/test/test_sequence.py b/Lib/bsddb/test/test_sequence.py index 31754eb..dba1c6e 100644 --- a/Lib/bsddb/test/test_sequence.py +++ b/Lib/bsddb/test/test_sequence.py @@ -110,7 +110,7 @@ class DBSequenceTest(unittest.TestCase): self.assertRaises(db.DBNotFoundError, seq.open, key='id', txn=None, flags=0) - self.assertRaises(db.DBNotFoundError, seq.stat) + self.assertRaises(db.DBInvalidArgError, seq.stat) d.close() |