diff options
author | Georg Brandl <georg@python.org> | 2008-05-26 10:29:35 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-26 10:29:35 (GMT) |
commit | 0a7ac7d70d370544c6a9d118bbbd6886ad4f5ce5 (patch) | |
tree | ec61fd6d53e6425b8639567860140c724ea7bc63 /Demo | |
parent | e6f00637be87c8f5f0e50bf317d684ea421a6d19 (diff) | |
download | cpython-0a7ac7d70d370544c6a9d118bbbd6886ad4f5ce5.zip cpython-0a7ac7d70d370544c6a9d118bbbd6886ad4f5ce5.tar.gz cpython-0a7ac7d70d370544c6a9d118bbbd6886ad4f5ce5.tar.bz2 |
Create the dbm package from PEP 3108. #2881.
Diffstat (limited to 'Demo')
-rwxr-xr-x | Demo/classes/Dbm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/classes/Dbm.py b/Demo/classes/Dbm.py index 617fe99..f931e93 100755 --- a/Demo/classes/Dbm.py +++ b/Demo/classes/Dbm.py @@ -7,8 +7,8 @@ class Dbm: def __init__(self, filename, mode, perm): - import dbm - self.db = dbm.open(filename, mode, perm) + import dbm.ndbm + self.db = dbm.ndbm.open(filename, mode, perm) def __repr__(self): s = '' |