pylint/pyreverse/writer.py
def get_values(self, obj):
        """get label and shape for classes.

        The label contains all attributes and methods
        """
        label = obj.title
        if obj.shape == "interface":
            label = "«interface»\\n%s" % label
        if not self.config.only_classnames:
            label = r"%s|%s\l|" % (label, r"\l".join(obj.attrs))
            for func in obj.methods:
                args = [arg.name for arg in func.args.args if arg.name != "self"]
                label = r"%s%s(%s)\l" % (label, func.name, ", ".join(args))
            label = "{%s}" % label
        if is_exception(obj.node):
            return dict(fontcolor="red", label=label, shape="record")
        return dict(label=label, shape="record")
def get_values(self, obj):
        """get label and shape for classes.

        The label contains all attributes and methods
        """
        label = obj.title
        if obj.shape == "interface":
            label = "«interface»\\n%s" % label
        if not self.config.only_classnames:
            label = r"%s|%s\l|" % (label, r"\l".join(obj.attrs))
            for func in obj.methods:
                args = [arg.name for arg in func.args.args if arg.name != "self"]
                label = r"%s%s(%s)\l" % (label, func.name, ", ".join(args))
            label = "{%s}" % label
        if is_exception(obj.node):
            return dict(fontcolor="red", label=label, shape="record")
        return dict(label=label, shape="record")
def get_values ( self , obj ) : label = obj . title if obj . shape == "interface" : label = "«interface»\\n%s" % l bel if not self . config . only_classnames : label = r"%s|%s\l|" % ( label , r"\l" . join ( obj . attrs ) ) for func in obj . methods : args = [ arg . name for arg in func . args . args if arg . name != "self" ] label = r"%s%s(%s)\l" % ( label , func . name , ", " . join ( args ) ) label = "{%s}" % label if is_exception ( obj . node ) : return dict ( fontcolor = "red" , label = label , shape = "record" ) return dict ( label = label , shape = "record" )
get label and shape for classes.

        The label contains all attributes and methods
get label and shape for classes .