Python 3.10の新機能を 俯瞰してみる
https://www.slideshare.net/hiroyaakita/python-310
with 文で () が使える
code: python
with open("a.txt") as f1, open("b.txt") as f2:
...
# Python 3.10から
with (
open("a.txt") as f1,
open("b.txt") as f2
):
...
積ん読 TypeAlias https://www.python.org/dev/peps/pep-0613/