#NEWLINE# def open( filename , flag = 'c' , protocol = None , writeback = False ) : #NEWLINE# #INDENT# "Open a persistent dictionary for reading and writing.\n\n    The filename parameter is the base filename for the underlying\n    database.  As a side-effect, an extension may be added to the\n    filename and more than one file may be created.  The optional flag\n    parameter has the same interpretation as the flag parameter of\n    anydbm.open(). The optional protocol parameter specifies the\n    version of the pickle protocol (0, 1, or 2).\n\n    See the module's __doc__ string for an overview of the interface.\n    " #NEWLINE# return DbfilenameShelf ( filename , protocol , protocol , writeback )