def __init__(self, type=None, value=None, name=None, buffer=None):
        super(TAG_List, self).__init__(value, name)
        if type:
            self.tagID = type.id
        else:
            self.tagID = None
        self.tags = []
        if buffer:
            self._parse_buffer(buffer)
        if self.tagID == None:
            raise ValueError((name) % "No type specified for list: %s")

    #Parsers and Generators
dataset/ETHPy150Open benbaptist/minecraft-wrapper/src/nbt.py/TAG_List.__init__/swapped operands of `%`