我有以下代碼:done, pending = asyncio.wait( [a, b], return_when=asyncio.FIRST_COMPLETED)但是失敗了:Traceback (most recent call last): ... File "/.../api.py", line 83, in websockets_handler return_when=asyncio.FIRST_COMPLETED)TypeError: cannot unpack non-iterable coroutine object
asyncio.await失敗,并出現(xiàn)TypeError:無法解包不可迭代的協(xié)程對象
慕無忌1623718
2021-05-05 18:18:58