def __call__(self, x):
if self.style == '<STR_LIT>':<EOL><INDENT>return [self.fmt.format(val) for val in x]<EOL><DEDENT>elif self.style == '<STR_LIT>':<EOL><INDENT>return [self.fmt % val for val in x]<EOL><DEDENT>else:<EOL><INDENT>raise ValueError(<EOL>"<STR_LIT>")<EOL><DEDENT>
Format a sequence of inputs

Parameters
----------
x : array
    Input

Returns
-------
out : list
    List of strings.