docs: def to_attrs(args, nocreate_if_none=['id', 'for', 'class']):
      """
      Make python dict to k="v" format
      """
      if not args:
          return ''
      s = ['']
      for k, v in sorted(args.items()):
          k = u_str(k)
          v = u_str(v)
          if k.startswith('_'):
              k = k[1:]
          if v is None:
              if k not in nocreate_if_none:
                  s.append(k)
          else:
              if k.lower() in __noescape_attrs__:
                  t = u_str(v)
              else:
                  t = cgi.escape(u_str(v))
              t = '"%s"' % t.replace('"', '&quot;')
              s.append('%s=%s' % (k, t))
      return ' '.join(s)