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

Skip to content

Commit 9331993

Browse files
[po] auto sync
1 parent 9914cb7 commit 9331993

7 files changed

Lines changed: 22 additions & 11 deletions

File tree

c-api/bytearray.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ msgstr "根据任何实现了 :ref:`缓冲区协议<bufferobjects>` 的对象 *o
7070
msgid ""
7171
"Create a new bytearray object from *string* and its length, *len*. On "
7272
"failure, ``NULL`` is returned."
73-
msgstr ""
73+
msgstr "根据 *string* 及其长度 *len* 创建一个新的 bytearray 对象。 当失败时返回 ``NULL``。"
7474

7575
#: ../../c-api/bytearray.rst:56
7676
msgid ""
@@ -79,14 +79,14 @@ msgstr "连接字节数组 *a* 和 *b* 并返回一个带有结果的新的字
7979

8080
#: ../../c-api/bytearray.rst:61
8181
msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer."
82-
msgstr ""
82+
msgstr "在检查 ``NULL`` 指针后返回 *bytearray* 的大小。"
8383

8484
#: ../../c-api/bytearray.rst:66
8585
msgid ""
8686
"Return the contents of *bytearray* as a char array after checking for a "
8787
"``NULL`` pointer. The returned array always has an extra null byte "
8888
"appended."
89-
msgstr ""
89+
msgstr "在检查 ``NULL`` 指针后返回将 *bytearray* 返回为一个字符数组。 返回的数组总是会附加一个额外的空字节。"
9090

9191
#: ../../c-api/bytearray.rst:73
9292
msgid "Resize the internal buffer of *bytearray* to *len*."

c-api/coro.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,5 @@ msgid ""
5353
"to *frame* is stolen by this function. The *frame* argument must not be "
5454
"``NULL``."
5555
msgstr ""
56+
"基于 *frame* 对象创建并返回一个新的协程对象,其中 ``__name__`` 和 ``__qualname__`` 设为 *name* 和 "
57+
"*qualname*。 此函数会取得一个对 *frame* 的引用。 *frame* 参数必须不为 ``NULL``。"

c-api/dict.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ msgstr "如果 *p* 是字典对象但不是字典类型的子类型的实例,
5555

5656
#: ../../c-api/dict.rst:36
5757
msgid "Return a new empty dictionary, or ``NULL`` on failure."
58-
msgstr ""
58+
msgstr "返回一个新的空字典,失败时返回 ``NULL``。"
5959

6060
#: ../../c-api/dict.rst:41
6161
msgid ""

c-api/float.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ msgstr ""
6161
msgid ""
6262
"Create a :c:type:`PyFloatObject` object based on the string value in *str*, "
6363
"or ``NULL`` on failure."
64-
msgstr ""
64+
msgstr "根据字符串 *str* 的值创建一个 :c:type:`PyFloatObject`,失败时返回 ``NULL``。"
6565

6666
#: ../../c-api/float.rst:42
6767
msgid ""
6868
"Create a :c:type:`PyFloatObject` object from *v*, or ``NULL`` on failure."
69-
msgstr ""
69+
msgstr "根据 *v* 创建一个 :c:type:`PyFloatObject` 对象,失败时返回 ``NULL``。"
7070

7171
#: ../../c-api/float.rst:47
7272
msgid ""

c-api/reflection.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ msgstr "返回当前执行帧中内置函数的字典,如果当前没有帧正
3636
msgid ""
3737
"Return a dictionary of the local variables in the current execution frame, "
3838
"or ``NULL`` if no frame is currently executing."
39-
msgstr ""
39+
msgstr "返回当前执行帧中局部变量的字典,如果没有当前执行的帧则返回 ``NULL``。"
4040

4141
#: ../../c-api/reflection.rst:22
4242
msgid ""
4343
"Return a dictionary of the global variables in the current execution frame, "
4444
"or ``NULL`` if no frame is currently executing."
45-
msgstr ""
45+
msgstr "返回当前执行帧中全局变量的字典,如果没有当前执行的帧则返回 ``NULL``。"
4646

4747
#: ../../c-api/reflection.rst:28
4848
msgid ""
4949
"Return the current thread state's frame, which is ``NULL`` if no frame is "
5050
"currently executing."
51-
msgstr ""
51+
msgstr "返回当前线程状态的帧,如果没有当前执行的帧则返回 ``NULL``。"
5252

5353
#: ../../c-api/reflection.rst:34
5454
msgid "Return the line number that *frame* is currently executing."

c-api/weakref.po

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Siyuan Xu <[email protected]>, 2019
8+
# Freesand Leo <[email protected]>, 2019
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2019-10-31 11:48+0000\n"
1516
"PO-Revision-Date: 2017-02-16 17:40+0000\n"
16-
"Last-Translator: Siyuan Xu <mf20070535@126.com>, 2019\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
1718
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -57,6 +58,10 @@ msgid ""
5758
"a weakly-referencable object, or if *callback* is not callable, ``None``, or"
5859
" ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
5960
msgstr ""
61+
"返回对象 *ob* 的一个弱引用对象。 该函数总是会返回一个新的引用,但不保证创建一个新的对象;它有可能返回一个现有的引用对象。 第二个形参 "
62+
"*callback* 为一个可调用对象,它会在 *ob* 被作为垃圾回收时接收通知;它应该接受一个单独形参,即弱引用对象本身。 *callback* "
63+
"也可以为 ``None`` 或 ``NULL``。 如果 *ob* 不是一个弱引用对象,或者如果 *callback* 不是可调用对象,``None``"
64+
" 或 ``NULL``,该函数将返回 ``NULL`` 并且引发 :exc:`TypeError`。"
6065

6166
#: ../../c-api/weakref.rst:43
6267
msgid ""
@@ -69,6 +74,10 @@ msgid ""
6974
"*ob* is not a weakly-referencable object, or if *callback* is not callable, "
7075
"``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
7176
msgstr ""
77+
"返回对象 *ob* 的一个弱引用代理对象。 该函数将总是返回一个新的引用,但不保证创建一个新的对象;它有可能返回一个现有的代理对象。 第二个形参 "
78+
"*callback* 为一个可调用对象,它会在 *ob* 被作为垃圾回收时接收通知;它应该接受一个单独形参,即弱引用对象本身。 *callback* "
79+
"也可以为 ``None`` 或 ``NULL``。 如果 *ob* 不是一个弱引用对象,或者如果 *callback* 不是可调用对象,``None``"
80+
" 或 ``NULL``,该函数将返回 ``NULL`` 并且引发 :exc:`TypeError`。"
7281

7382
#: ../../c-api/weakref.rst:55
7483
msgid ""

tutorial/classes.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ msgid ""
262262
"namespace as the global scope: the module's namespace. Class definitions "
263263
"place yet another namespace in the local scope."
264264
msgstr ""
265-
"通常,当前局部作为域将(按字面文本)引用当前函数的局部名称。 在函数以外,局部作用域将引用与全局作用域相一致的命名空间:模块的命名空间。 "
265+
"通常,当前局部作用域将(按字面文本)引用当前函数的局部名称。 在函数以外,局部作用域将引用与全局作用域相一致的命名空间:模块的命名空间。 "
266266
"类定义将在局部命名空间内再放置另一个命名空间。"
267267

268268
#: ../../tutorial/classes.rst:138

0 commit comments

Comments
 (0)