parameters: (self)
return_statement: return [name.replace(b"\x00", b"") for name in names]
docstring: :returns: A list of the named styles in a variation font.
          :exception IOError: If the font is not a variation font.
docstring_summary: :returns: A list of the named styles in a variation font.
          :exception IOError: If the font is not a variation font.
docstring_tokens: : returns : A list of the named styles in a variation font . : exception IOError : If the font is not a variation font .
function: def get_variation_names(self):
          """
          :returns: A list of the named styles in a variation font.
          :exception IOError: If the font is not a variation font.
          """
          try:
              names = self.font.getvarnames()
          except AttributeError:
              raise NotImplementedError("FreeType 2.9.1 or greater is required")
          return [name.replace(b"\x00", b"") for name in names]
function_tokens: def get_variation_names ( self ) : try : names = self . font . getvarnames ( ) except AttributeError : raise NotImplementedError ( "FreeType 2.9.1 or greater is required" ) return [ name . replace ( b"\x00" , b"" ) for name in names ]