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

Skip to content

Commit 58da65a

Browse files
[po] auto sync
1 parent 1bb2be1 commit 58da65a

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

howto/clinic.po

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ msgid ""
637637
"Argument Clinic generated the checksum line and the function prototype just "
638638
"above it. You should write the opening (and closing) curly braces for the "
639639
"function, and the implementation inside."
640-
msgstr ""
640+
msgstr "上面是 Argument Clinic 生成的校验值和函数原型。函数应该带有闭合的大括号,里面包含实现代码。"
641641

642642
#: ../../howto/clinic.rst:522
643643
msgid ""
@@ -648,36 +648,38 @@ msgid ""
648648
" builtin is a class method, this will probably be below but relatively near "
649649
"to the implementation.)"
650650
msgstr ""
651+
"还记得用到 :c:type:`PyMethodDef` 结构的宏吧?找到函数中已有的 :c:type:`PyMethodDef` "
652+
"结构,并替换为宏的引用。(如果函数是模块级的,可能会在文件的末尾附近;如果函数是个类方法,则可能会在靠近实现代码的下方。)"
651653

652654
#: ../../howto/clinic.rst:529
653655
msgid ""
654656
"Note that the body of the macro contains a trailing comma. So when you "
655657
"replace the existing static :c:type:`PyMethodDef` structure with the macro, "
656658
"*don't* add a comma to the end."
657-
msgstr ""
659+
msgstr "注意,宏尾部带有一个逗号。所以若用宏替换已有的静态结构 :c:type:`PyMethodDef` 时,*请勿* 在结尾添加逗号了。"
658660

659661
#: ../../howto/clinic.rst:542
660662
msgid ""
661663
"Compile, then run the relevant portions of the regression-test suite. This "
662664
"change should not introduce any new compile-time warnings or errors, and "
663665
"there should be no externally-visible change to Python's behavior."
664-
msgstr ""
666+
msgstr "编译,然后运行回归测试套件中的有关测试程序。不应引入新的编译警告或错误,且对 Python 也不应有外部可见的变化。"
665667

666668
#: ../../howto/clinic.rst:546
667669
msgid ""
668670
"Well, except for one difference: ``inspect.signature()`` run on your "
669671
"function should now provide a valid signature!"
670-
msgstr ""
672+
msgstr "差别只有一个,即 ``inspect.signature()`` 运行于新的函数上,现在应该新提供一个有效的签名!"
671673

672674
#: ../../howto/clinic.rst:549
673675
msgid ""
674676
"Congratulations, you've ported your first function to work with Argument "
675677
"Clinic!"
676-
msgstr ""
678+
msgstr "祝贺你,现在已经用 Argument Clinic 移植了第一个函数。"
677679

678680
#: ../../howto/clinic.rst:552
679681
msgid "Advanced Topics"
680-
msgstr ""
682+
msgstr "进阶"
681683

682684
#: ../../howto/clinic.rst:554
683685
msgid ""

0 commit comments

Comments
 (0)