Skip to content

Commit

Permalink
Merge pull request #64 from kbsriram/main
Browse files Browse the repository at this point in the history
Remove non-working Stream __aenter__/__aexit__ methods.
  • Loading branch information
dhalbert committed Feb 13, 2024
2 parents 7469b5f + d210ebd commit 1f7562d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions asyncio/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ def get_extra_info(self, v):

return self.e[v]

async def __aenter__(self):
return self

async def __aexit__(self, exc_type, exc, tb):
await self.close()

def close(self):
pass

Expand Down

0 comments on commit 1f7562d

Please sign in to comment.