You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
10 lines
227 B
Python
10 lines
227 B
Python
# From 3.5 _collections.abc.py
|
|
# Bug was not having \n after "await self.athrow()" stmt
|
|
async def aclose(self):
|
|
try:
|
|
await self.athrow()
|
|
except (GeneratorExit):
|
|
pass
|
|
else:
|
|
raise RuntimeError
|