8000 uasyncio: StreamReader.close() -> .aclose(). · micropython/micropython-lib@99fa203 · GitHub
[go: up one dir, main page]

Skip to content

Commit 99fa203

Browse files
author
Paul Sokolovsky
committed
uasyncio: StreamReader.close() -> .aclose().
Note: CPython asyncio lacks .close() on StreamReader at all, only StreamWriter has it.
1 parent 8c7a419 commit 99fa203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uasyncio/uasyncio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def readline(self):
8585
log.debug("StreamReader.readline(): res: %s", res)
8686
return res
8787

88-
def close(self):
88+
def aclose(self):
8989
yield IOReadDone(self.s)
9090
self.s.close()
9191

0 commit comments

Comments
 (0)
0