This was also proposed:
Then you could have this:
with (
suppress(FileNotFoundError),
async aiofiles.open("config.json") as f
):
This was also proposed:
Then you could have this:
with (
suppress(FileNotFoundError),
async aiofiles.open("config.json") as f
):