def __init__(self, name, default, length_from=None, count_from=None): Field.__init__(self, name, default) self.length_from = length_from self.count_from = count_from
def __init__(self, name, default, length=None, length_from=None): self.length_from = length_from if length: self.length_from = lambda p, l=length: l Field.__init__(self, name, default, "!Q")
def __init__(self, name, default): Field.__init__(self, name, default, '<h')
def __init__(self, name, default=None, id=None, multi=False): Field.__init__(self, name, default) self.pb_id = id self.pb_multi = multi return
def __init__(self, name, default, count_from=None): # noqa: E501 Field.__init__(self, name, default) self.count_from = count_from