home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / python / pylib / !Python_Lib_Lib2_py_dbhash < prev    next >
Encoding:
Text File  |  1996-01-25  |  173 b   |  9 lines

  1. """Provide a (g)dbm-compatible interface to bsdhash.hashopen."""
  2.  
  3. import bsddb
  4.  
  5. error = bsddb.error
  6.  
  7. def open(file, flag, mode):
  8.     return bsddb.hashopen(file, flag, mode)
  9.