def _format_arg(self, name, spec, value):
    if (name == 'precision'):
        if isinstance(value, int):
            return ('-p %d' % value)
        elif (isinstance(value, tuple) and isinstance(value[0], int) and isinstance(value[1], int)):
            return ('-p %d,%d' % (value[0], value[1]))
        else:
            raise ValueError(('Invalid precision argument: ' + str(value)))
    return super(Dump, self)._format_arg(name, spec, value)
def _format_arg(self, name, spec, value):
    if (name == 'precision'):
        if isinstance(value, int):
            return ('-p %d' % value)
        elif (isinstance(value, tuple) and isinstance(value[0], int) and isinstance(value[1], int)):
            return ('-p %d,%d' % (value[0], value[1]))
        else:
            raise ValueError(('Invalid precision argument: ' + str(value)))
    return super(Dump, self)._format_arg(name, spec, value)