core: include fds in Waker repr

pull/167/head
David Wilson 7 years ago
parent 7a061fe18b
commit 0eeba2eaa8

@ -1016,7 +1016,11 @@ class Waker(BasicStream):
self.transmit_side = Side(self, wfd) self.transmit_side = Side(self, wfd)
def __repr__(self): def __repr__(self):
return 'Waker(%r)' % (self._broker,) return 'Waker(%r rfd=%r, wfd=%r)' % (
self._broker,
self.receive_side.fd,
self.transmit_side.fd,
)
def on_receive(self, broker): def on_receive(self, broker):
""" """

Loading…
Cancel
Save