Staging
v0.5.1
https://github.com/python/cpython
Revision 6af6d3511e21ee0145fddb80abece7d36fd3a2ac authored by Guido van Rossum on 04 October 1997, 20:29:17 UTC, committed by Guido van Rossum on 04 October 1997, 20:29:17 UTC
Since there's also an imghdr.py file, I propose to make sndhdr.py the
official one.  For compatibility, whatsound.py imports * from
sndhdr.py.
1 parent bfeb74d
Raw File
Tip revision: 6af6d3511e21ee0145fddb80abece7d36fd3a2ac authored by Guido van Rossum on 04 October 1997, 20:29:17 UTC
Turns out whatsound.py and sndhdr.py were identical modules.
Tip revision: 6af6d35
dbhash.py
"""Provide a (g)dbm-compatible interface to bsdhash.hashopen."""

import bsddb

error = bsddb.error

def open(file, flag, mode):
    return bsddb.hashopen(file, flag, mode)
back to top