def METHOD_NAME(self, x, level):
    if not x:
        return "array('%s')" % x.typecode
    header = "array('%s', [" % x.typecode
    return self._repr_iterable(x, level, header, '])', self.maxarray)