def flatatt(attrs):
    return u''.join([u' %s="%s"' % (k, conditional_escape(v)) for k, v in attrs.items()])
Convert a dictionary of attributes to a single string.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/forms/util.py/flatatt