File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -609,6 +609,7 @@ msgid ""
609609" already has a dictionary ready to use for the keyword arguments, but not a "
610610"tuple for the positional arguments."
611611msgstr ""
612+ "无论在内部使用哪种协议,都需要进行参数的转换。 因此,此函数应当仅在调用方已经拥有作为关键字参数的字典,但没有作为位置参数的元组时才被使用。"
612613
613614#: ../../c-api/call.rst:397
614615msgid ""
@@ -621,13 +622,20 @@ msgid ""
621622"temporarily be changed. Keyword arguments can be passed just like in "
622623":c:func:`PyObject_Vectorcall`."
623624msgstr ""
625+ "使用 vectorcall 调用惯例来调用一个方法。 方法的名称以 Python 字符串 *name* 的形式给出。 调用方法的对象为 "
626+ "*args[0]*,而 *args* 数组从 *args[1]* 开始的部分则代表调用的参数。 必须传入至少一个位置参数。 *nargsf* 为包括 "
627+ "*args[0]* 在内的位置参数的数量,如果 ``args[0]`` 的值可能被临时改变则要再加上 "
628+ ":const:`PY_VECTORCALL_ARGUMENTS_OFFSET`。 关键字参数可以像在 "
629+ ":c:func:`PyObject_Vectorcall` 中一样被传入。"
624630
625631#: ../../c-api/call.rst:406
626632msgid ""
627633"If the object has the :const:`Py_TPFLAGS_METHOD_DESCRIPTOR` feature, this "
628634"will call the unbound method object with the full *args* vector as "
629635"arguments."
630636msgstr ""
637+ "如果对象具有 :const:`Py_TPFLAGS_METHOD_DESCRIPTOR` 特性,此函数将调用调用未绑定的方法对象并附带完整的 "
638+ "*args* vector 作为参数。"
631639
632640#: ../../c-api/call.rst:419
633641msgid "Call Support API"
Original file line number Diff line number Diff line change @@ -298,6 +298,9 @@ msgid ""
298298"described in previous sections obsolete --- they are still useful to process"
299299" file uploads efficiently, for example."
300300msgstr ""
301+ "前面的部分解释了如何使用 :class:`FieldStorage` 类来读取 CGI 表单数据。 "
302+ "本部分则会描述一个更高层级的接口,它被添加到此类中以允许人们以更为可读和自然的方式行事。 这个接口并不会完全取代前面的部分所描述的技巧 --- "
303+ "例如它们在高效处理文件上传时仍然很有用处。"
301304
302305#: ../../library/cgi.rst:204
303306msgid ""
Original file line number Diff line number Diff line change 10101111# ppcfish <[email protected] >, 20211212# meowmeowcat <[email protected] >, 202113+ # CCXXXI <[email protected] >, 20211314#
1415#, fuzzy
1516msgid ""
@@ -18,7 +19,7 @@ msgstr ""
1819"Report-Msgid-Bugs-To : \n "
1920"POT-Creation-Date : 2021-06-29 12:56+0000\n "
2021"PO-Revision-Date : 2021-06-28 01:04+0000\n "
21- "Last-Translator : meowmeowcat <meowmeowcat1211@gmail .com>, 2021\n "
22+ "Last-Translator : CCXXXI <ccxxxi@qq .com>, 2021\n "
2223"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2324"MIME-Version : 1.0\n "
2425"Content-Type : text/plain; charset=UTF-8\n "
@@ -53,7 +54,7 @@ msgstr "通过验证所有交互式示例仍然按照记录的方式工作,以
5354msgid ""
5455"To perform regression testing by verifying that interactive examples from a "
5556"test file or a test object work as expected."
56- msgstr ""
57+ msgstr "通过验证来自一个测试文件或一个测试对象的交互式示例按预期工作,来进行回归测试。 "
5758
5859#: ../../library/doctest.rst:26
5960msgid ""
You can’t perform that action at this time.
0 commit comments