可以是協程或是具有 __await__() 方法的物件。 ... __init__(self): print("init running") async def __aenter__(self): print("aenter running") ...
確定! 回上一頁