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

Skip to content

Commit 20ed931

Browse files
[po] auto sync
1 parent 9482039 commit 20ed931

2 files changed

Lines changed: 20 additions & 12 deletions

File tree

c-api/method.po

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,30 +40,31 @@ msgstr ""
4040
msgid ""
4141
"This instance of :c:type:`PyTypeObject` represents the Python instance "
4242
"method type. It is not exposed to Python programs."
43-
msgstr ""
43+
msgstr "这个 :c:type:`PyTypeObject` 实例代表 Python 实例方法类型。 它并不对 Python 程序公开。"
4444

4545
#: ../../c-api/method.rst:23
4646
msgid ""
4747
"Return true if *o* is an instance method object (has type "
4848
":c:data:`PyInstanceMethod_Type`). The parameter must not be ``NULL``."
4949
msgstr ""
50+
"如果 *o* 是实例方法对象 (类型为 :c:data:`PyInstanceMethod_Type`) 则返回真值。 形参必须不为 ``NULL``。"
5051

5152
#: ../../c-api/method.rst:29
5253
msgid ""
5354
"Return a new instance method object, with *func* being any callable object "
5455
"*func* is the function that will be called when the instance method is "
5556
"called."
56-
msgstr ""
57+
msgstr "返回一个新的实例方法对象,*func* 应为任意可调用对象,*func* 将在实例方法被调用时作为函数被调用。"
5758

5859
#: ../../c-api/method.rst:36
5960
msgid "Return the function object associated with the instance method *im*."
60-
msgstr ""
61+
msgstr "返回关联到实例方法 *im* 的函数对象。"
6162

6263
#: ../../c-api/method.rst:41
6364
msgid ""
6465
"Macro version of :c:func:`PyInstanceMethod_Function` which avoids error "
6566
"checking."
66-
msgstr ""
67+
msgstr "宏版本的 :c:func:`PyInstanceMethod_Function`,略去了错误检测。"
6768

6869
#: ../../c-api/method.rst:47
6970
msgid "Method Objects"
@@ -74,26 +75,30 @@ msgid ""
7475
"Methods are bound function objects. Methods are always bound to an instance "
7576
"of a user-defined class. Unbound methods (methods bound to a class object) "
7677
"are no longer available."
77-
msgstr ""
78+
msgstr "方法是绑定的函数对象。 方法总是会被绑定到一个用户自定义类的实例。 未绑定方法(绑定到一个类的方法)已不再可用。"
7879

7980
#: ../../c-api/method.rst:60
8081
msgid ""
8182
"This instance of :c:type:`PyTypeObject` represents the Python method type. "
8283
"This is exposed to Python programs as ``types.MethodType``."
8384
msgstr ""
85+
"这个 :c:type:`PyTypeObject` 实例代表 Python 方法类型。 它作为 ``types.MethodType`` 向 "
86+
"Python 程序公开。"
8487

8588
#: ../../c-api/method.rst:66
8689
msgid ""
8790
"Return true if *o* is a method object (has type :c:data:`PyMethod_Type`). "
8891
"The parameter must not be ``NULL``."
89-
msgstr ""
92+
msgstr "如果 *o* 是方法对象 (类型为 :c:data:`PyMethod_Type`) 则返回真值。 形参必须不为 ``NULL``。"
9093

9194
#: ../../c-api/method.rst:72
9295
msgid ""
9396
"Return a new method object, with *func* being any callable object and *self*"
9497
" the instance the method should be bound. *func* is the function that will "
9598
"be called when the method is called. *self* must not be ``NULL``."
9699
msgstr ""
100+
"返回一个新的方法对象,*func* 应为任意可调用对象,*self* 为该方法应绑定的实例。 在方法被调用时 *func* 将作为函数被调用。 "
101+
"*self* 必须不为 ``NULL``。"
97102

98103
#: ../../c-api/method.rst:79
99104
msgid "Return the function object associated with the method *meth*."

library/hashlib.po

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -771,25 +771,25 @@ msgstr "BLAKE2 可通过向 *person* 参数传入字节串来进行个性化::"
771771
msgid ""
772772
"Personalization together with the keyed mode can also be used to derive "
773773
"different keys from a single one."
774-
msgstr ""
774+
msgstr "个性化配合密钥模式也可被用来从单个密钥派生出多个不同密钥。"
775775

776776
#: ../../library/hashlib.rst:641
777777
msgid "Tree mode"
778-
msgstr ""
778+
msgstr "树形模式"
779779

780780
#: ../../library/hashlib.rst:643
781781
msgid "Here's an example of hashing a minimal tree with two leaf nodes::"
782-
msgstr ""
782+
msgstr "以下是对包含两个叶子节点的最小树进行哈希的例子::"
783783

784784
#: ../../library/hashlib.rst:649
785785
msgid ""
786786
"This example uses 64-byte internal digests, and returns the 32-byte final "
787787
"digest::"
788-
msgstr ""
788+
msgstr "这个例子使用 64 字节内部摘要,返回 32 字节最终摘要::"
789789

790790
#: ../../library/hashlib.rst:679
791791
msgid "Credits"
792-
msgstr ""
792+
msgstr "开发人员"
793793

794794
#: ../../library/hashlib.rst:681
795795
msgid ""
@@ -798,12 +798,15 @@ msgid ""
798798
"created by *Jean-Philippe Aumasson*, *Luca Henzen*, *Willi Meier*, and "
799799
"*Raphael C.-W. Phan*."
800800
msgstr ""
801+
"BLAKE2_ 是由 *Jean-Philippe Aumasson*, *Samuel Neves*, *Zooko Wilcox-O'Hearn* "
802+
"和 *Christian Winnerlein* 基于 *Jean-Philippe Aumasson*, *Luca Henzen*, *Willi "
803+
"Meier* 和 *Raphael C.-W. Phan* 所创造的 SHA-3_ 入围方案 BLAKE_ 进行设计的。"
801804

802805
#: ../../library/hashlib.rst:686
803806
msgid ""
804807
"It uses core algorithm from ChaCha_ cipher designed by *Daniel J. "
805808
"Bernstein*."
806-
msgstr ""
809+
msgstr "它使用的核心算法来自由 *Daniel J. Bernstein* 所设计的 ChaCha_ 加密。"
807810

808811
#: ../../library/hashlib.rst:688
809812
msgid ""

0 commit comments

Comments
 (0)