Skip to content

Commit d210ebd

Browse files
committed
Remove non-working Stream __aenter__/__aexit__ methods.
Fixes adafruit#63
1 parent 7469b5f commit d210ebd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

asyncio/stream.py

-6
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ def get_extra_info(self, v):
3636

3737
return self.e[v]
3838

39-
async def __aenter__(self):
40-
return self
41-
42-
async def __aexit__(self, exc_type, exc, tb):
43-
await self.close()
44-
4539
def close(self):
4640
pass
4741

0 commit comments

Comments
 (0)