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

Skip to content

Commit 5b0a456

Browse files
[po] auto sync
1 parent 114bb55 commit 5b0a456

3 files changed

Lines changed: 16 additions & 10 deletions

File tree

library/contextvars.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#
66
# Translators:
77
# ww song <[email protected]>, 2018
8-
# zeroswan <[email protected]>, 2020
98
# Freesand Leo <[email protected]>, 2020
9+
# zeroswan <[email protected]>, 2020
1010
#
1111
#, fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To: \n"
1616
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
1717
"PO-Revision-Date: 2018-06-29 21:06+0000\n"
18-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
18+
"Last-Translator: zeroswan <weditor@163.com>, 2020\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -159,8 +159,8 @@ msgid ""
159159
":meth:`ContextVar.set` method call that created the token. It points to "
160160
":attr:`Token.MISSING` is the variable was not set before the call."
161161
msgstr ""
162-
"一个只读属性。 会被设为在创建此令牌的 :meth:`ContextVar.set` 方法调用之前该变量所具有的值。 它指向的 "
163-
":attr:`Token.MISSING` 是在调用之前未设置的变量。"
162+
"一个只读属性。 会被设为在创建此令牌的 :meth:`ContextVar.set` 方法调用之前该变量所具有的值。 "
163+
"如果调用之前变量没有设置值,则它指向 :attr:`Token.MISSING` 。"
164164

165165
#: ../../library/contextvars.rst:118
166166
msgid "A marker object used by :attr:`Token.old_value`."

library/ctypes.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# ruoyu zhang <[email protected]>, 2019
1313
# Freesand Leo <[email protected]>, 2019
1414
# kks uch <[email protected]>, 2020
15+
# zeroswan <[email protected]>, 2020
1516
#
1617
#, fuzzy
1718
msgid ""
@@ -20,7 +21,7 @@ msgstr ""
2021
"Report-Msgid-Bugs-To: \n"
2122
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
2223
"PO-Revision-Date: 2017-02-16 23:05+0000\n"
23-
"Last-Translator: kks uch <951156675@qq.com>, 2020\n"
24+
"Last-Translator: zeroswan <weditor@163.com>, 2020\n"
2425
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2526
"MIME-Version: 1.0\n"
2627
"Content-Type: text/plain; charset=UTF-8\n"
@@ -557,23 +558,26 @@ msgid ""
557558
"an :attr:`_as_parameter_` attribute and uses this as the function argument."
558559
" Of course, it must be one of integer, string, or bytes::"
559560
msgstr ""
561+
"你也可以通过自定义 :mod:`ctypes` 参数转换方式来允许自定义类型作为参数。 :mod:`ctypes` 会寻找 "
562+
":attr:`_as_parameter_` 属性并使用它作为函数参数。当然,它必须是数字、字符串或者二进制字符串::"
560563

561564
#: ../../library/ctypes.rst:395
562565
msgid ""
563566
"If you don't want to store the instance's data in the :attr:`_as_parameter_`"
564567
" instance variable, you could define a :class:`property` which makes the "
565568
"attribute available on request."
566569
msgstr ""
570+
"如果你不想把实例的数据存储到 :attr:`_as_parameter_` 属性。可以通过定义 :class:`property` 函数计算出这个属性。"
567571

568572
#: ../../library/ctypes.rst:403
569573
msgid "Specifying the required argument types (function prototypes)"
570-
msgstr ""
574+
msgstr "指定必选参数的类型(函数原型)"
571575

572576
#: ../../library/ctypes.rst:405
573577
msgid ""
574578
"It is possible to specify the required argument types of functions exported "
575579
"from DLLs by setting the :attr:`argtypes` attribute."
576-
msgstr ""
580+
msgstr "可以通过设置 :attr:`argtypes` 属性的方法指定从 DLL 中导出函数的必选参数类型。"
577581

578582
#: ../../library/ctypes.rst:408
579583
msgid ""
@@ -582,6 +586,8 @@ msgid ""
582586
" different types of parameters depending on the format string, on the other "
583587
"hand this is quite handy to experiment with this feature)::"
584588
msgstr ""
589+
":attr:`argtypes` 必须是一个 C 数据类型的序列 (这里的 ``printf`` "
590+
"可能不是个好例子,因为它是变长参数,而且每个参数的类型依赖于格式化字符串,不过尝试这个功能也很方便)::"
585591

586592
#: ../../library/ctypes.rst:419
587593
msgid ""

library/multiprocessing.shared_memory.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ msgid ""
7373
"different process can attach to that same shared memory block using that "
7474
"same name."
7575
msgstr ""
76-
"创建一个新的共享内存块或者连接到一片已经存在的共享内存块。每个共享内存块都被指定了一个全局唯一的名称。通过这种方式,一个进程可以通过提供一个特定的名字创建一个共享内存区块,然后其他进程使用同样的名字连接到这个共享内存块。"
76+
"创建一个新的共享内存块或者连接到一片已经存在的共享内存块。每个共享内存块都被指定了一个全局唯一的名称。通过这种方式,进程可以使用一个特定的名字创建共享内存区块,然后其他进程使用同样的名字连接到这个共享内存块。"
7777

7878
#: ../../library/multiprocessing.shared_memory.rst:47
7979
msgid ""
@@ -84,8 +84,8 @@ msgid ""
8484
" block is no longer needed by any process, the :meth:`unlink()` method "
8585
"should be called to ensure proper cleanup."
8686
msgstr ""
87-
"作为一种跨进成共享数据的方式,共享内存块的寿命可能超过创建它的原始进程。一个共享内存块可能同时被多个进程使用,当一个进程不再需要访问这个共享内存块的时候,应该调用"
88-
" :meth:`close()`  方法。当一个共享内存块不被任何进程使用的时候,应该调用 :meth:`unlink()`  方法以执行必要的清理。"
87+
"作为一种跨进程共享数据的方式,共享内存块的寿命可能超过创建它的原始进程。一个共享内存块可能同时被多个进程使用,当一个进程不再需要访问这个共享内存块的时候,应该调用"
88+
" :meth:`close()` 方法。当一个共享内存块不被任何进程使用的时候,应该调用 :meth:`unlink()` 方法以保证必要的清理。"
8989

9090
#: ../../library/multiprocessing.shared_memory.rst:54
9191
msgid ""

0 commit comments

Comments
 (0)