Pythonの「context manager」を実装するために必要なメソッドの組み合わせはどれか。

with文(コンテキストマネージャ)を使用するには、__enter__と__exit__の実装が必要です。