Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c44748c

Browse files
[po] auto sync
1 parent 9892167 commit c44748c

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

howto/clinic.po

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,13 +337,15 @@ msgid ""
337337
"``help()`` on your builtin in the future, the first line will be built "
338338
"automatically based on the function's signature.)"
339339
msgstr ""
340+
"如果文档字符串的第一行看起来像是函数的签名,就把这一行去掉吧。((文档串不再需要用到它——将来对内置函数调用 ``help()`` "
341+
"时,第一行将根据函数的签名自动建立。)"
340342

341343
#: ../../howto/clinic.rst:205 ../../howto/clinic.rst:226
342344
#: ../../howto/clinic.rst:250 ../../howto/clinic.rst:308
343345
#: ../../howto/clinic.rst:348 ../../howto/clinic.rst:375
344346
#: ../../howto/clinic.rst:481 ../../howto/clinic.rst:533
345347
msgid "Sample::"
346-
msgstr ""
348+
msgstr "示例:"
347349

348350
#: ../../howto/clinic.rst:211
349351
msgid ""
@@ -352,12 +354,14 @@ msgid ""
352354
"paragraph consisting of a single 80-column line at the beginning of the "
353355
"docstring."
354356
msgstr ""
357+
"如果文档字符串中没有“摘要”行,Argument Clinic 会报错。所以应确保带有摘要行。 "
358+
"“摘要”行应为在文档字符串开头的一个段落,由一个80列的单行构成。"
355359

356360
#: ../../howto/clinic.rst:216
357361
msgid ""
358362
"(Our example docstring consists solely of a summary line, so the sample code"
359363
" doesn't have to change for this step.)"
360-
msgstr ""
364+
msgstr "(示例的文档字符串只包括一个摘要行,所以示例代码这一步不需改动)。"
361365

362366
#: ../../howto/clinic.rst:219
363367
msgid ""
@@ -367,6 +371,8 @@ msgid ""
367371
"module, include any sub-modules, and if the function is a method on a class "
368372
"it should include the class name too."
369373
msgstr ""
374+
"在文档字符串上方,输入函数的名称,后面是空行。这应是函数的 Python "
375+
"名称,而且应是句点分隔的完整路径——以模块的名称开始,包含所有子模块名,若函数为类方法则还应包含类名。"
370376

371377
#: ../../howto/clinic.rst:234
372378
msgid ""
@@ -377,6 +383,8 @@ msgid ""
377383
" statics go at the top. (In our sample code we'll just show the two blocks "
378384
"next to each other.)"
379385
msgstr ""
386+
"如果是第一次在此 C 文件中用到 Argument Clinic 的模块或类,必须对其进行声明。清晰的 Argument Clinic 写法应于 C "
387+
"文件顶部附近的某个单独块中声明这些,就像 include 文件和 statics 放在顶部一样。(在这里的示例代码中,将这两个块相邻给出。)"
380388

381389
#: ../../howto/clinic.rst:242
382390
msgid ""

0 commit comments

Comments
 (0)