File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ msgstr ""
361361msgid ""
362362"(Our example docstring consists solely of a summary line, so the sample code"
363363" doesn't have to change for this step.)"
364- msgstr ""
364+ msgstr "(示例的文档字符串只包括一个摘要行,所以示例代码这一步不需改动)。 "
365365
366366#: ../../howto/clinic.rst:219
367367msgid ""
@@ -371,6 +371,8 @@ msgid ""
371371"module, include any sub-modules, and if the function is a method on a class "
372372"it should include the class name too."
373373msgstr ""
374+ "在文档字符串上方,输入函数的名称,后面是空行。这应是函数的 Python "
375+ "名称,而且应是句点分隔的完整路径——以模块的名称开始,包含所有子模块名,若函数为类方法则还应包含类名。"
374376
375377#: ../../howto/clinic.rst:234
376378msgid ""
@@ -381,6 +383,8 @@ msgid ""
381383" statics go at the top. (In our sample code we'll just show the two blocks "
382384"next to each other.)"
383385msgstr ""
386+ "如果是第一次在此 C 文件中用到 Argument Clinic 的模块或类,必须对其进行声明。清晰的 Argument Clinic 写法应于 C "
387+ "文件顶部附近的某个单独块中声明这些,就像 include 文件和 statics 放在顶部一样。(在这里的示例代码中,将这两个块相邻给出。)"
384388
385389#: ../../howto/clinic.rst:242
386390msgid ""
You can’t perform that action at this time.
0 commit comments