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

Skip to content

Commit 8452000

Browse files
[po] auto sync
1 parent 1d1a8c6 commit 8452000

4 files changed

Lines changed: 13 additions & 1 deletion

File tree

c-api/list.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ msgid ""
9696
"If *index* is out of bounds, return ``-1`` and set an :exc:`IndexError` "
9797
"exception."
9898
msgstr ""
99+
"将列表中索引为 *index* 的项设为 *item*。 成功时返回 ``0``。 如果 *index* 超出范围则返回 ``-1`` 并设定 "
100+
":exc:`IndexError` 异常。"
99101

100102
#: ../../c-api/list.rst:80
101103
msgid ""
@@ -143,6 +145,8 @@ msgid ""
143145
"Analogous to ``list[low:high]``. Indexing from the end of the list is not "
144146
"supported."
145147
msgstr ""
148+
"返回一个对象列表,包含 *list* 当中位于 *low* 和 *high* *之间* 的对象。 如果不成功则返回 *NULL* 并设定一个异常。 "
149+
"相当于 ``list[low:high]``。 这里不支持使用负数从列表末尾进行索引。"
146150

147151
#: ../../c-api/list.rst:120
148152
msgid ""
@@ -152,6 +156,9 @@ msgid ""
152156
"Return ``0`` on success, ``-1`` on failure. Indexing from the end of the "
153157
"list is not supported."
154158
msgstr ""
159+
"将 *list* 中 *low* 与 *high* 之间的切片设为 *itemlist* 的内容。 相当于 ``list[low:high] = "
160+
"itemlist``。 *itemlist* 可以为 *NULL*,表示赋值为一个空列表(删除切片)。 成功时返回 ``0``,失败时返回 "
161+
"``-1``。 这里不支持使用负数从列表末尾进行索引。"
155162

156163
#: ../../c-api/list.rst:129
157164
msgid ""

library/types.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ msgstr ""
220220
msgid ""
221221
"Note that the audited arguments may not match the names or positions "
222222
"required by the initializer."
223-
msgstr ""
223+
msgstr "请注意被审核参数可能不匹配初始化器所要求的名称或位置。"
224224

225225
#: ../../library/types.rst:148
226226
msgid ""

reference/simple_stmts.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -939,6 +939,8 @@ msgid ""
939939
"``module``, ``filename``, ``sys.path``, ``sys.meta_path``, "
940940
"``sys.path_hooks``."
941941
msgstr ""
942+
"引发一个 :ref:`审核事件 <auditing>` ``import`` 附带参数 ``module``, ``filename``, "
943+
"``sys.path``, ``sys.meta_path``, ``sys.path_hooks``。"
942944

943945
#: ../../reference/simple_stmts.rst:847
944946
msgid "Future statements"

tutorial/datastructures.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,9 @@ msgid ""
615615
"problems encountered in C programs: typing ``=`` in an expression when "
616616
"``==`` was intended."
617617
msgstr ""
618+
"请注意 Python 与 C 不同,在表达式内部赋值必须显式地使用海象运算符 ``:=`` 来完成。 这避免了一类This avoids a "
619+
"common class of problems encountered in C 程序中常见的错误:想要在表达式中写 ``==`` 时却写成了 "
620+
"``=``。"
618621

619622
#: ../../tutorial/datastructures.rst:687
620623
msgid "Comparing Sequences and Other Types"

0 commit comments

Comments
 (0)