File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -392,28 +392,32 @@ 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 ""
You can’t perform that action at this time.
0 commit comments