首页 / PYTHON / Python:在类方法上使用contextmanager的意外行为