[Typo]: C扩展 调用协议 翻译优化
Closed this issue · 1 comments
no-study-no-life commented
Python Version
3.9+
Docs Page
https://docs.python.org/zh-cn/3.9/c-api/call.html#c.PyObject_CallFunctionObjArgs;
Original Translation
调用一个可调用的 Python 对象 callable,附带可变数量的 PyObject * 参数。 这些参数是以 NULL 之后 可变数量的形参的形式提供的。

Original Docs Paragraph
Call a callable Python object callable, with a variable number of PyObject * arguments. The arguments are provided as a variable number of parameters followed by NULL.

Suggested Fix
应当调整"followed by NULL"这一翻译为: "跟随一个 NULL ";
即原始段落应翻译为:
调用一个可调用的 Python 对象 callable,附带可变数量的 PyObject * 参数。 参数列表应以可变数量的参数形式提供,并以NULL结尾。
silkriver commented
fixed