summaryrefslogtreecommitdiffstats
path: root/Lib/anydbm.py
blob: 49e819b9486333204faf00e5db309751ed7727e1 (plain)
1
2
3
4
5
6
7
8
9
"""A generic interface to all dbm clones."""

try:
	import dbm
	def open(file, mode = 'rw'):
		return dbm.open(file, mode, 0666)
except ImportError:
	import dbmac
	open = dbmac.open