【发布时间】:2015-02-26 07:55:35
【问题描述】:
这里http://www.dabeaz.com/coroutines/有Python 2中协程的详细解释。但是,在 Python 3 official documentation 中搜索关键字“coroutine”和“(yield)”时,我发现只有 asyncio.coroutines 特定于 asyncio 模块并且它们使用“yield from”语法。
【问题讨论】:
-
谢谢,但仍然没有关于协程的消息......
标签: python-3.x yield coroutine