~pythonregexp2.7/python/issue2636-11

« back to all changes in this revision

Viewing changes to Lib/dbhash.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-21 17:53:26 UTC
  • mfrom: (39025.1.14 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080921175326-92vaej2hc3yuecxb
Merged in changes from the core Regexp branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
"""Provide a (g)dbm-compatible interface to bsddb.hashopen."""
2
2
 
3
3
import sys
 
4
if sys.py3kwarning:
 
5
    import warnings
 
6
    warnings.warnpy3k("in 3.x, dbhash has been removed", DeprecationWarning, 2)
4
7
try:
5
8
    import bsddb
6
9
except ImportError: