pylint/pyreverse/diagrams.py
def classe(self, name):
        """return a class by its name, raise KeyError if not found
        """
        for klass in self.classes():
            if klass.node.name == name:
                return klass
        raise KeyError(name)
def classe(self, name):
        for klass in self.classes():
            if klass.node.name == name:
                return klass
        raise KeyError(name)
def classe ( self , name ) : for klass in self . classes ( ) : if klass . node . name == name : return klass raise KeyError ( name )
return a class by its name, raise KeyError if not found
return a class by its name raise KeyError if not found