def node_except_clause(self, node):
        jsvars = self.jsvars.copy()
        childs = node.children.__iter__()
        self.assert_value(node, childs.next().value, 'except')
        classes = None
        varname = None
        try:
            child = childs.next()
            if isinstance(child, Node) and type_repr(child.type) == 'atom':
                self.assert_value(node, child.children[0].value, '(')
                self.assert_value(node, child.children[-1].value, ')')
                classes = self.dispatch(child.children[1])
            else:
                classes = self.dispatch(child)
            self.assert_value(node, childs.next().value, ',')
            varname = self.dispatch(childs.next(), assign=True)
        except __HOLE__:
            pass
        if classes is not None:
            if not isinstance(classes, list):
                classes = [classes]
            tests = []
            return classes, varname
        return None, None
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/translator_dict.py/Translator.node_except_clause