pylint/checkers/variables.py
def _get_unpacking_extra_info(node, infered):
    """return extra information to add to the message for unpacking-non-sequence
    and unbalanced-tuple-unpacking errors
    """
    more = ""
    infered_module = infered.root().name
    if node.root().name == infered_module:
        if node.lineno == infered.lineno:
            more = " %s" % infered.as_string()
        elif infered.lineno:
            more = " defined at line %s" % infered.lineno
    elif infered.lineno:
        more = " defined at line %s of %s" % (infered.lineno, infered_module)
    return more
def _get_unpacking_extra_info(node, infered):
    more = ""
    infered_module = infered.root().name
    if node.root().name == infered_module:
        if node.lineno == infered.lineno:
            more = " %s" % infered.as_string()
        elif infered.lineno:
            more = " defined at line %s" % infered.lineno
    elif infered.lineno:
        more = " defined at line %s of %s" % (infered.lineno, infered_module)
    return more
def _get_unpacking_extra_info ( node , infered ) : more = "" infered_module = infered . root ( ) . name if node . root ( ) . name == infered_module : if node . lineno == infered . lineno : more = " %s" % infered . as_string ( ) elif infered . lineno : more = " defined at line %s" % infered . lineno elif infered . lineno : more = " defined at line %s of %s" % ( infered . lineno , infered_module ) return more
return extra information to add to the message for unpacking-non-sequence
    and unbalanced-tuple-unpacking errors
return extra information to add to the message for unpacking - non - sequence and unbalanced - tuple - unpacking errors