@@ -392,39 +392,44 @@ msgid ""
392392"Python. Check the name defined in the :c:type:`PyModuleDef` or "
393393":c:type:`PyTypeObject` as appropriate."
394394msgstr ""
395+ "类和模块的名称应与暴露给 Python 的相同。请适时检查 :c:type:`PyModuleDef` 或 :c:type:`PyTypeObject`"
396+ " 中定义的名称。"
395397
396398#: ../../howto/clinic.rst:246
397399msgid ""
398400"When you declare a class, you must also specify two aspects of its type in "
399401"C: the type declaration you'd use for a pointer to an instance of this "
400402"class, and a pointer to the :c:type:`PyTypeObject` for this class."
401403msgstr ""
404+ "在声明某个类时,还必须指定其 C 语言类型的两个部分:用于指向该类实例的指针的类型声明,和指向该类的 :c:type:`PyTypeObject` "
405+ "指针。"
402406
403407#: ../../howto/clinic.rst:266
404408msgid ""
405409"Declare each of the parameters to the function. Each parameter should get "
406410"its own line. All the parameter lines should be indented from the function "
407411"name and the docstring."
408- msgstr ""
412+ msgstr "声明函数的所有参数。每个参数都应另起一行。所有的参数行都应对齐函数名和文档字符串进行缩进。 "
409413
410414#: ../../howto/clinic.rst:270
411415msgid "The general form of these parameter lines is as follows:"
412- msgstr ""
416+ msgstr "这些参数行的常规形式如下: "
413417
414418#: ../../howto/clinic.rst:276
415419msgid "If the parameter has a default value, add that after the converter:"
416- msgstr ""
420+ msgstr "如果参数带有默认值,请加在转换器之后: "
417421
418422#: ../../howto/clinic.rst:283
419423msgid ""
420424"Argument Clinic's support for \" default values\" is quite sophisticated; "
421425"please see :ref:`the section below on default values <default_values>` for "
422426"more information."
423427msgstr ""
428+ "Argument Clinic 对 “缺省值” 的支持方式相当复杂;更多信息请参见 :ref:`关于缺省值的部分 <default_values>` 。"
424429
425430#: ../../howto/clinic.rst:287
426431msgid "Add a blank line below the parameters."
427- msgstr ""
432+ msgstr "在参数行下面添加一个空行。 "
428433
429434#: ../../howto/clinic.rst:289
430435msgid ""
@@ -434,6 +439,8 @@ msgid ""
434439"convenience syntax intended to make porting old code into Argument Clinic "
435440"easier."
436441msgstr ""
442+ " “转换器”是什么?它既确定了 C 语言要采用的变量类型,又确定了运行时将 Python 值转换成 C "
443+ "语言值的方法。现在需用到的是所谓“传统转换器”——快捷语法,旨在让旧代码更容易移植到 Argument Clinic。"
437444
438445#: ../../howto/clinic.rst:296
439446msgid ""
0 commit comments