libqtile/command.py
def formatSelector(lst):
    """
        Takes a list of (name, sel) tuples, and returns a formatted
        selector expression.
    """
    expr = []
    for name, sel in iter(lst):
        if expr:
            expr.append(".")
        expr.append(name)
        if sel is not None:
            expr.append("[%s]" % repr(sel))
    return "".join(expr)

        Takes a list of (name, sel) tuples, and returns a formatted
        selector expression.
    
Takes a list of (name, sel) tuples, and returns a formatted
selector expression.
Takes a list of ( name sel ) tuples and returns a formatted selector expression .
def formatSelector(lst):
    expr = []
    for name, sel in iter(lst):
        if expr:
            expr.append(".")
        expr.append(name)
        if sel is not None:
            expr.append("[%s]" % repr(sel))
    return "".join(expr)
def formatSelector ( lst ) : expr = [ ] for name , sel in iter ( lst ) : if expr : expr . append ( "." ) expr . append ( name ) if sel is not None : expr . append ( "[%s]" % repr ( sel ) ) return "" . join ( expr )
Takes a list of (name, sel) tuples, and returns a formatted
selector expression.
Takes a list of ( name sel ) tuples and returns a formatted selector expression .
"""
        Takes a list of (name, sel) tuples, and returns a formatted
        selector expression.
    """
lst