

def flatatt(attrs):
    '\n    Convert a dictionary of attributes to a single string.\n    The returned string will contain a leading space followed by key="value",\n    XML-style pairs.  It is assumed that the keys do not need to be XML-escaped.\n    If the passed dictionary is empty, then return an empty string.\n    '
    return ''.join([(' %s="%s"' % (k, conditional_escape(attrs))) for (k, v) in attrs.items()])

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/forms/util.py flatatt/VarMisuse@26/144 `v`->`attrs`