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

Skip to content

Commit 7a17e84

Browse files
committed
[po] auto sync bot
1 parent 67b502f commit 7a17e84

3 files changed

Lines changed: 32 additions & 16 deletions

File tree

c-api/arg.po

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: 高垚鑫, 2018\n"
13+
"Last-Translator: Freesand Leo <[email protected]>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=UTF-8\n"
@@ -295,7 +295,7 @@ msgstr ""
295295

296296
#: ../../c-api/arg.rst:156
297297
msgid "``u`` (:class:`str`) [const Py_UNICODE \\*]"
298-
msgstr ""
298+
msgstr "``u`` (:class:`str`) [const Py_UNICODE \\*]"
299299

300300
#: ../../c-api/arg.rst:142
301301
msgid ""
@@ -322,7 +322,7 @@ msgstr ""
322322

323323
#: ../../c-api/arg.rst:165
324324
msgid "``u#`` (:class:`str`) [const Py_UNICODE \\*, int]"
325-
msgstr ""
325+
msgstr "``u#`` (:class:`str`) [const Py_UNICODE \\*, int]"
326326

327327
#: ../../c-api/arg.rst:159
328328
msgid ""
@@ -333,7 +333,7 @@ msgstr "``u`` 的变式,存储两个C变量,第一个指针指向一个Unico
333333

334334
#: ../../c-api/arg.rst:173
335335
msgid "``Z`` (:class:`str` or ``None``) [const Py_UNICODE \\*]"
336-
msgstr ""
336+
msgstr "``Z`` (:class:`str` 或 ``None``) [const Py_UNICODE \\*]"
337337

338338
#: ../../c-api/arg.rst:168
339339
msgid ""
@@ -344,7 +344,7 @@ msgstr ""
344344

345345
#: ../../c-api/arg.rst:181
346346
msgid "``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, int]"
347-
msgstr ""
347+
msgstr "``Z#`` (:class:`str` 或 ``None``) [const Py_UNICODE \\*, int]"
348348

349349
#: ../../c-api/arg.rst:176
350350
msgid ""
@@ -1031,7 +1031,7 @@ msgstr ""
10311031

10321032
#: ../../c-api/arg.rst:550
10331033
msgid "``s`` (:class:`str` or ``None``) [const char \\*]"
1034-
msgstr ""
1034+
msgstr "``s`` (:class:`str` 或 ``None``) [const char \\*]"
10351035

10361036
#: ../../c-api/arg.rst:549
10371037
msgid ""
@@ -1043,7 +1043,7 @@ msgstr ""
10431043

10441044
#: ../../c-api/arg.rst:555
10451045
msgid "``s#`` (:class:`str` or ``None``) [const char \\*, int]"
1046-
msgstr ""
1046+
msgstr "``s#`` (:class:`str` 或 ``None``) [const char \\*, int]"
10471047

10481048
#: ../../c-api/arg.rst:553
10491049
msgid ""
@@ -1056,7 +1056,7 @@ msgstr ""
10561056

10571057
#: ../../c-api/arg.rst:559
10581058
msgid "``y`` (:class:`bytes`) [const char \\*]"
1059-
msgstr ""
1059+
msgstr "``y`` (:class:`bytes`) [const char \\*]"
10601060

10611061
#: ../../c-api/arg.rst:558
10621062
msgid ""
@@ -1067,7 +1067,7 @@ msgstr ""
10671067

10681068
#: ../../c-api/arg.rst:563
10691069
msgid "``y#`` (:class:`bytes`) [const char \\*, int]"
1070-
msgstr ""
1070+
msgstr "``y#`` (:class:`bytes`) [const char \\*, int]"
10711071

10721072
#: ../../c-api/arg.rst:562
10731073
msgid ""
@@ -1081,41 +1081,45 @@ msgstr "和``s``一样。"
10811081

10821082
#: ../../c-api/arg.rst:569
10831083
msgid "``z#`` (:class:`str` or ``None``) [const char \\*, int]"
1084-
msgstr ""
1084+
msgstr "``z#`` (:class:`str` 或 ``None``) [const char \\*, int]"
10851085

10861086
#: ../../c-api/arg.rst:569 ../../c-api/arg.rst:585
10871087
msgid "Same as ``s#``."
10881088
msgstr "和``s#``一样。"
10891089

10901090
#: ../../c-api/arg.rst:574
10911091
msgid "``u`` (:class:`str`) [const wchar_t \\*]"
1092-
msgstr ""
1092+
msgstr "``u`` (:class:`str`) [const wchar_t \\*]"
10931093

10941094
#: ../../c-api/arg.rst:572
10951095
msgid ""
10961096
"Convert a null-terminated :c:type:`wchar_t` buffer of Unicode (UTF-16 or "
10971097
"UCS-4) data to a Python Unicode object. If the Unicode buffer pointer is "
10981098
"*NULL*, ``None`` is returned."
10991099
msgstr ""
1100+
"将一个以 null 结束的 :c:type:`wchar_t` Unicode (UTF-16 或 UCS-4) 数据缓冲区转换为一个 Python "
1101+
"Unicode 对象。如果 Unicode 缓冲区指针为 *NULL* 则返回 ``None``。"
11001102

11011103
#: ../../c-api/arg.rst:579
11021104
msgid "``u#`` (:class:`str`) [const wchar_t \\*, int]"
1103-
msgstr ""
1105+
msgstr "``u#`` (:class:`str`) [const wchar_t \\*, int]"
11041106

11051107
#: ../../c-api/arg.rst:577
11061108
msgid ""
11071109
"Convert a Unicode (UTF-16 or UCS-4) data buffer and its length to a Python "
11081110
"Unicode object. If the Unicode buffer pointer is *NULL*, the length is "
11091111
"ignored and ``None`` is returned."
11101112
msgstr ""
1113+
"将一个 Unicode (UTF-16 或 UCS-4) 数据缓冲区及其长度转换为一个 Python Unicode 对象。如果 Unicode "
1114+
"缓冲区指针为 *NULL* 则忽略长度并返回 ``None``。"
11111115

11121116
#: ../../c-api/arg.rst:582
11131117
msgid "``U`` (:class:`str` or ``None``) [const char \\*]"
1114-
msgstr ""
1118+
msgstr "``U`` (:class:`str` 或 ``None``) [const char \\*]"
11151119

11161120
#: ../../c-api/arg.rst:585
11171121
msgid "``U#`` (:class:`str` or ``None``) [const char \\*, int]"
1118-
msgstr ""
1122+
msgstr "``U#`` (:class:`str` 或 ``None``) [const char \\*, int]"
11191123

11201124
#: ../../c-api/arg.rst:588
11211125
msgid "Convert a plain C :c:type:`int` to a Python integer object."

c-api/objimpl.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: Freesand Leo <[email protected]>, 2018\n"
1314
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1415
"MIME-Version: 1.0\n"
1516
"Content-Type: text/plain; charset=UTF-8\n"
@@ -19,10 +20,10 @@ msgstr ""
1920

2021
#: ../../c-api/objimpl.rst:7
2122
msgid "Object Implementation Support"
22-
msgstr ""
23+
msgstr "对象实现支持"
2324

2425
#: ../../c-api/objimpl.rst:9
2526
msgid ""
2627
"This chapter describes the functions, types, and macros used when defining "
2728
"new object types."
28-
msgstr ""
29+
msgstr "本章描述了定义新对象类型时所使用的函数、类型和宏。"

reference/datamodel.po

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,6 +1274,14 @@ msgid ""
12741274
"stack size (including local variables); :attr:`co_flags` is an integer "
12751275
"encoding a number of flags for the interpreter."
12761276
msgstr ""
1277+
"特殊的只读属性: :attr:`co_name` 为函数名称; :attr:`co_argcount` 为位置参数的数量 (包括有默认值的参数); "
1278+
":attr:`co_nlocals` 为函数使用的本地变量数量 (包括参数); :attr:`co_varnames` 为一个包含本地变量名称的元组 "
1279+
"(以参数名打头); :attr:`co_cellvars` 为一个包含被嵌套函数所引用的本地变量名称的元组; :attr:`co_freevars` "
1280+
"为一个包含自由变量的元组; :attr:`co_code` 为一个表示字节码指令序列的字符串; :attr:`co_consts` "
1281+
"为一个包含字节码所使用的字面值的元组; :attr:`co_names` 为一个包含字节码所使用的名称的元组; :attr:`co_filename` "
1282+
"为被编译代码所在的文件名; :attr:`co_firstlineno` 为函数首行的行号; :attr:`co_lnotab` "
1283+
"为一个以编码表示的从字节码偏移量到行号的映射的字符串 (详情参见解释器的源码); :attr:`co_stacksize` 为要求的栈大小 "
1284+
"(包括本地变量); :attr:`co_flags` 为一个以编码表示的多个解释器所用标志的整型数。"
12771285

12781286
#: ../../reference/datamodel.rst:928
12791287
msgid ""
@@ -1283,6 +1291,9 @@ msgid ""
12831291
" ``**keywords`` syntax to accept arbitrary keyword arguments; bit ``0x20`` "
12841292
"is set if the function is a generator."
12851293
msgstr ""
1294+
"以下是可用于 :attr:`co_flags` 的标志位定义: 如果函数使用 ``*arguments`` 语法来接受任意数量的位置参数则设置 "
1295+
"``0x04`` 位; 如果函数使用 ``**keywords`` 语法来接受任意数量的关键字参数则设置 ``0x08``位; "
1296+
"如果函数是一个生成器则设置 ``0x20`` 位。"
12861297

12871298
#: ../../reference/datamodel.rst:934
12881299
msgid ""

0 commit comments

Comments
 (0)