code: def _attributeStr(self, name):
          
          return "{}={}".format(
              _encodeAttr(name),
              ",".join([_encodeAttr(v) for v in self.attributes[name]]))
docs: Return name=value for a single attribute