def init(self, type, value=None):
     """initializes an object with a specified type and value"""
     if value is not None:
         return init(self.Pairing, type, value)
     return init(self.Pairing, type)
示例#2
0
    def init(self, type, value=None):
        """initializes an object with a specified type and value""" 
        if value != None:
            return init(self.Pairing, type, value)
#            return self.Pairing.init(type, long(value))
        return init(self.Pairing, type)
示例#3
0
 def init(self, type, value=None):
     if value != None:
         return init(self.Pairing, type, value)
     return init(self.Pairing, type)
示例#4
0
    def init(self, type, value=None):
        if value != None:
            return init(self.Pairing, type, value)
#            return self.Pairing.init(type, long(value))
        return init(self.Pairing, type)
示例#5
0
 def init(self, type, value=None):
     if value != None:
         return init(self.Pairing, type, value)
     return init(self.Pairing, type)
示例#6
0
    def init(self, type, value=None):
        """initializes an object with a specified type and value"""
        if value != None:
            return init(self.Pairing, type, value)
#            return self.Pairing.init(type, long(value))
        return init(self.Pairing, type)