We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b7135 commit 2a5d6b8Copy full SHA for 2a5d6b8
uasyncio/uasyncio.py
@@ -211,6 +211,9 @@ def readline(self):
211
log.debug("StreamReader.readline(): res: %s", res)
212
return res
213
214
+ def __repr__(self):
215
+ return "<StreamReader %r>" % self.s
216
+
217
218
class StreamWriter:
219
@@ -244,6 +247,9 @@ def close(self):
244
247
yield IOWriteDone(self.s)
245
248
self.s.close()
246
249
250
251
+ return "<StreamWriter %r>" % self.s
252
253
254
def open_connection(host, port):
255
log.debug("open_connection(%s, %s)", host, port)
0 commit comments