pylint/pyreverse/inspector.py
def handle_assignattr_type(node, parent):
        """handle an astroid.assignattr node

        handle instance_attrs_type
        """
        try:
            values = set(node.infer())
            current = set(parent.instance_attrs_type[node.attrname])
            parent.instance_attrs_type[node.attrname] = list(current | values)
        except astroid.InferenceError:
            pass
def handle_assignattr_type(node, parent):
        """handle an astroid.assignattr node

        handle instance_attrs_type
        """
        try:
            values = set(node.infer())
            current = set(parent.instance_attrs_type[node.attrname])
            parent.instance_attrs_type[node.attrname] = list(current | values)
        except astroid.InferenceError:
            pass
def handle_assignattr_type ( node , parent ) : try : values = set ( node . infer ( ) ) current = set ( parent . instance_attrs_type [ node . attrname ] ) parent . instance_attrs_type [ node . attrname ] = list ( current | values ) except astroid . InferenceError : pass
handle an astroid.assignattr node

        handle instance_attrs_type
handle an astroid . assignattr node