Skip to content

Commit 1f7562d

Browse files
authored
Merge pull request #64 from kbsriram/main
Remove non-working Stream __aenter__/__aexit__ methods.
2 parents 7469b5f + d210ebd commit 1f7562d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: 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)