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

Skip to content

Commit 9422195

Browse files
[po] auto sync
1 parent ff649fd commit 9422195

2 files changed

Lines changed: 5433 additions & 5420 deletions

File tree

c-api/arg.po

Lines changed: 33 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.8\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
21+
"POT-Creation-Date: 2020-02-26 12:47+0000\n"
2222
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
2323
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
2424
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -226,10 +226,8 @@ msgstr ""
226226
#: ../../c-api/arg.rst:110
227227
msgid ""
228228
"``z#`` (:class:`str`, read-only :term:`bytes-like object` or ``None``) "
229-
"[const char \\*, int]"
229+
"[const char \\*, int or :c:type:`Py_ssize_t`]"
230230
msgstr ""
231-
"``z#`` (:class:`str`, 只读 :term:`bytes-like object` or ``None``) [const char "
232-
"\\*, int]"
233231

234232
#: ../../c-api/arg.rst:109
235233
msgid ""
@@ -268,8 +266,10 @@ msgid ""
268266
msgstr "``s*`` 的变式,不接受 Unicode 对象,只接受类字节类型变量。**这是接受二进制数据的推荐方法。**"
269267

270268
#: ../../c-api/arg.rst:129
271-
msgid "``y#`` (read-only :term:`bytes-like object`) [const char \\*, int]"
272-
msgstr "``y#`` (read-only :term:`bytes-like object`) [const char \\*, int]"
269+
msgid ""
270+
"``y#`` (read-only :term:`bytes-like object`) [const char \\*, int or "
271+
":c:type:`Py_ssize_t`]"
272+
msgstr ""
273273

274274
#: ../../c-api/arg.rst:128
275275
msgid ""
@@ -332,8 +332,9 @@ msgstr ""
332332
"这是旧版样式 :c:type:`Py_UNICODE` API; 请迁移至 :c:func:`PyUnicode_AsWideCharString`."
333333

334334
#: ../../c-api/arg.rst:165
335-
msgid "``u#`` (:class:`str`) [const Py_UNICODE \\*, int]"
336-
msgstr "``u#`` (:class:`str`) [const Py_UNICODE \\*, int]"
335+
msgid ""
336+
"``u#`` (:class:`str`) [const Py_UNICODE \\*, int or :c:type:`Py_ssize_t`]"
337+
msgstr ""
337338

338339
#: ../../c-api/arg.rst:159
339340
msgid ""
@@ -355,8 +356,10 @@ msgstr ""
355356
"``NULL``。"
356357

357358
#: ../../c-api/arg.rst:181
358-
msgid "``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, int]"
359-
msgstr "``Z#`` (:class:`str` 或 ``None``) [const Py_UNICODE \\*, int]"
359+
msgid ""
360+
"``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, int or "
361+
":c:type:`Py_ssize_t`]"
362+
msgstr ""
360363

361364
#: ../../c-api/arg.rst:176
362365
msgid ""
@@ -445,11 +448,9 @@ msgstr "和 ``es`` 相同,除了不用重编码传入的字符串对象。相
445448

446449
#: ../../c-api/arg.rst:245
447450
msgid ""
448-
"``es#`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer, int "
449-
"\\*buffer_length]"
451+
"``es#`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer, int or "
452+
":c:type:`Py_ssize_t` \\*buffer_length]"
450453
msgstr ""
451-
"``es#`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer, int "
452-
"\\*buffer_length]"
453454

454455
#: ../../c-api/arg.rst:217
455456
msgid ""
@@ -511,10 +512,9 @@ msgstr "在这两个例子中,*\\*buffer_length* 被设置为编码后结尾
511512
#: ../../c-api/arg.rst:250
512513
msgid ""
513514
"``et#`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char "
514-
"\\*encoding, char \\*\\*buffer, int \\*buffer_length]"
515+
"\\*encoding, char \\*\\*buffer, int or :c:type:`Py_ssize_t` "
516+
"\\*buffer_length]"
515517
msgstr ""
516-
"``et#`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char "
517-
"\\*encoding, char \\*\\*buffer, int \\*buffer_length]"
518518

519519
#: ../../c-api/arg.rst:248
520520
msgid ""
@@ -1059,8 +1059,10 @@ msgstr ""
10591059
"``NULL``,则使用 ``None``。"
10601060

10611061
#: ../../c-api/arg.rst:555
1062-
msgid "``s#`` (:class:`str` or ``None``) [const char \\*, int]"
1063-
msgstr "``s#`` (:class:`str` 或 ``None``) [const char \\*, int]"
1062+
msgid ""
1063+
"``s#`` (:class:`str` or ``None``) [const char \\*, int or "
1064+
":c:type:`Py_ssize_t`]"
1065+
msgstr ""
10641066

10651067
#: ../../c-api/arg.rst:553
10661068
msgid ""
@@ -1083,8 +1085,8 @@ msgstr ""
10831085
"这将 C 字符串转换为 Python :class:`bytes` 对象。 如果 C 字符串指针为 ``NULL``,则返回 ``None``。"
10841086

10851087
#: ../../c-api/arg.rst:563
1086-
msgid "``y#`` (:class:`bytes`) [const char \\*, int]"
1087-
msgstr "``y#`` (:class:`bytes`) [const char \\*, int]"
1088+
msgid "``y#`` (:class:`bytes`) [const char \\*, int or :c:type:`Py_ssize_t`]"
1089+
msgstr ""
10881090

10891091
#: ../../c-api/arg.rst:562
10901092
msgid ""
@@ -1097,8 +1099,10 @@ msgid "Same as ``s``."
10971099
msgstr "和 ``s`` 一样。"
10981100

10991101
#: ../../c-api/arg.rst:569
1100-
msgid "``z#`` (:class:`str` or ``None``) [const char \\*, int]"
1101-
msgstr "``z#`` (:class:`str` 或 ``None``) [const char \\*, int]"
1102+
msgid ""
1103+
"``z#`` (:class:`str` or ``None``) [const char \\*, int or "
1104+
":c:type:`Py_ssize_t`]"
1105+
msgstr ""
11021106

11031107
#: ../../c-api/arg.rst:569 ../../c-api/arg.rst:585
11041108
msgid "Same as ``s#``."
@@ -1118,8 +1122,8 @@ msgstr ""
11181122
"对象。 如果 Unicode 缓冲区指针为 ``NULL``,则返回 ``None``。"
11191123

11201124
#: ../../c-api/arg.rst:579
1121-
msgid "``u#`` (:class:`str`) [const wchar_t \\*, int]"
1122-
msgstr "``u#`` (:class:`str`) [const wchar_t \\*, int]"
1125+
msgid "``u#`` (:class:`str`) [const wchar_t \\*, int or :c:type:`Py_ssize_t`]"
1126+
msgstr ""
11231127

11241128
#: ../../c-api/arg.rst:577
11251129
msgid ""
@@ -1135,8 +1139,10 @@ msgid "``U`` (:class:`str` or ``None``) [const char \\*]"
11351139
msgstr "``U`` (:class:`str` 或 ``None``) [const char \\*]"
11361140

11371141
#: ../../c-api/arg.rst:585
1138-
msgid "``U#`` (:class:`str` or ``None``) [const char \\*, int]"
1139-
msgstr "``U#`` (:class:`str` 或 ``None``) [const char \\*, int]"
1142+
msgid ""
1143+
"``U#`` (:class:`str` or ``None``) [const char \\*, int or "
1144+
":c:type:`Py_ssize_t`]"
1145+
msgstr ""
11401146

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

0 commit comments

Comments
 (0)