home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- import sys
- if sys.py3kwarning:
- import warnings
- warnings.warnpy3k('in 3.x, dbhash has been removed', DeprecationWarning, 2)
-
-
- try:
- import bsddb
- except ImportError:
- del sys.modules[__name__]
- raise
-
- __all__ = [
- 'error',
- 'open']
- error = bsddb.error
-
- def open(file, flag = 'r', mode = 438):
- return bsddb.hashopen(file, flag, mode)
-
-