(self, dbfile, vtype=None, merge=None)
:param dbfile: the file to write to.
        :param vtype: a :class:`Values` class to use for storing values. This
            is only necessary if you will be storing values for the keys.
        :param merge: a function that takes two values and returns a single
            value. This is called if you insert two identical keys with values.
:param dbfile: the file to write to.
        :param vtype: a :class:`Values` class to use for storing values. This
            is only necessary if you will be storing values for the keys.
        :param merge: a function that takes two values and returns a single
            value. This is called if you insert two identical keys with values.
: param dbfile : the file to write to . : param vtype : a : class : Values class to use for storing values . This is only necessary if you will be storing values for the keys . : param merge : a function that takes two values and returns a single value . This is called if you insert two identical keys with values .
def __init__(self, dbfile, vtype=None, merge=None):
        """
        :param dbfile: the file to write to.
        :param vtype: a :class:`Values` class to use for storing values. This
            is only necessary if you will be storing values for the keys.
        :param merge: a function that takes two values and returns a single
            value. This is called if you insert two identical keys with values.
        """

        self.dbfile = dbfile
        self.vtype = vtype
        self.merge = merge
        self.fieldroots = {}
        self.arc_count = 0
        self.node_count = 0
        self.fixed_count = 0

        dbfile.write(b("GRPH"))
        dbfile.write_int(self.version)
        dbfile.write_uint(0)

        self._infield = False
def __init__ ( self , dbfile , vtype = None , merge = None ) : self . dbfile = dbfile self . vtype = vtype self . merge = merge self . fieldroots = { } self . arc_count = 0 self . node_count = 0 self . fixed_count = 0 dbfile . write ( b ( "GRPH" ) ) dbfile . write_int ( self . version ) dbfile . write_uint ( 0 ) self . _infield = False