@staticmethod
    def default_condition(node, val):
        if isinstance(val, (list, tuple)):
            return node.toknum in val or node.name in val
        else:
            return node.toknum == val or node.name == val
dataset/ETHPy150Open KristoforMaynard/SublimeAutoDocstring/dparse.py/STNode.default_condition/original