Skip to content

Commit

Permalink
Remove non-working Stream __aenter__/__aexit__ methods.
Browse files Browse the repository at this point in the history
Fixes #63
  • Loading branch information
kbsriram committed Feb 13, 2024
1 parent 7469b5f commit d210ebd
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 d210ebd

Please sign in to comment.