code: def parseAttributes(self, attributes=None, **kwAttributes):
          
          attributes = attributes if attributes is not None else {}
          if attributes:
              kwAttributes.update(attributes)
  
          self.cssBuilder.beginInline()
          try:
              properties = []
              try:
                  for propertyName, src in six.iteritems(kwAttributes):
                      src, property = self._parseDeclarationProperty(src.strip(), propertyName)
                      properties.append(property)
  
              except self.ParseError as err:
                  err.setFullCSSSource(src, inline=True)
                  raise
  
              result = self.cssBuilder.inline(properties)
          finally:
              self.cssBuilder.endInline()
          return result
docs: Parses CSS attribute source strings, and return as an inline stylesheet.
          Use to parse a tag's highly CSS-based attributes like 'font'.
  
          See also: parseSingleAttr