def __str__(self):
    params = ', '.join(
        [repr(p) for p in self._params or []] +
        ['%s=%r' % x for x in sorted((self._named_params or {}).items())])
    full_desc = (self._name, params, self._return_value) % "%s(%s) -> %r"
    if self._description:
      full_desc = "%s.%s" % (self._description, full_desc)
    return full_desc
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/mox/mox.py/MockMethod.__str__/swapped operands of `%`