Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a7ac7d

Browse files
committed
Create the dbm package from PEP 3108. #2881.
1 parent e6f0063 commit 0a7ac7d

41 files changed

Lines changed: 690 additions & 876 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Demo/classes/Dbm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
class Dbm:
88

99
def __init__(self, filename, mode, perm):
10-
import dbm
11-
self.db = dbm.open(filename, mode, perm)
10+
import dbm.ndbm
11+
self.db = dbm.ndbm.open(filename, mode, perm)
1212

1313
def __repr__(self):
1414
s = ''

Doc/distutils/setupscript.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ For example, if you need to link against libraries known to be in the standard
316316
library search path on target systems ::
317317

318318
Extension(...,
319-
libraries=['gdbm', 'readline'])
319+
libraries=['_gdbm', 'readline'])
320320

321321
If you need to link with libraries in a non-standard location, you'll have to
322322
include the location in ``library_dirs``::

Doc/library/anydbm.rst

Lines changed: 0 additions & 96 deletions
This file was deleted.

Doc/library/bsddb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ arguments should be used in most instances.
9292

9393
.. seealso::
9494

95-
Module :mod:`dbhash`
95+
Module :mod:`dbm.bsd`
9696
DBM-style interface to the :mod:`bsddb`
9797

9898

Doc/library/dbhash.rst

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)