Simplify __repr__ for Join trigger.
Replaces verbose RunningTask.__repr__ with RunningTask.__str__.
For example,
Join(<Task 2 pending coro=some_coro() trigger=<Timer of 1000.00ps at 0x02FB0084>>)
becomes
Join(<Task 2>)
@@ -619,7 +619,7 @@ class Join(PythonTrigger, metaclass=_ParameterizedSingletonAndABC):
super(Join, self).prime(callback)
def __repr__(self):
- return "{}({!r})".format(type(self).__qualname__, self._coroutine)
+ return "{}({!s})".format(type(self).__qualname__, self._coroutine)
class Waitable(Awaitable):
