python/python-docs-zh-cn

[Typo]: `mechanisms`应译为`机制`,不应译为`几种机制`

vivodi opened this issue · 2 comments

vivodi commented

Python Version

3.12, 3.13, 3.14

Docs Page

https://docs.python.org/zh-cn/3.13/library/asyncio-task.html#coroutines

Original Translation

要实际运行一个协程,asyncio 提供了以下几种机制

Original Docs Paragraph

To actually run a coroutine, asyncio provides the following mechanisms:

Suggested Fix

要实际运行一个协程,asyncio 提供了以下机制

并没有很多种方法运行协程, mechanisms译为机制即可,不应译为几种机制。我读这段的时候往下找了半天也没看到运行协程的第二种方法。

只有 asyncio.run(main()) 这一个方法运行协程

fixed

Dumeng commented

This fix has been reverted. The original translation is accurate. The following paragraphs describe several ways to run a coroutine. asyncio.run() is just the top-level entry.