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

Skip to content

Commit aee3ef1

Browse files
committed
[po] auto sync bot
1 parent 8539ac7 commit aee3ef1

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

library/stdtypes.po

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5227,13 +5227,13 @@ msgstr "字典视图可以被迭代以产生与其对应的数据,并支持成
52275227

52285228
#: ../../library/stdtypes.rst:4313
52295229
msgid "Return the number of entries in the dictionary."
5230-
msgstr ""
5230+
msgstr "返回字典中的条目数。"
52315231

52325232
#: ../../library/stdtypes.rst:4317
52335233
msgid ""
52345234
"Return an iterator over the keys, values or items (represented as tuples of "
52355235
"``(key, value)``) in the dictionary."
5236-
msgstr ""
5236+
msgstr "返回字典中的键、值或项(以 ``(键, 值)`` 为元素的元组表示)的迭代器。"
52375237

52385238
#: ../../library/stdtypes.rst:4320
52395239
msgid ""
@@ -5242,22 +5242,25 @@ msgid ""
52425242
"zip(d.values(), d.keys())``. Another way to create the same list is ``pairs"
52435243
" = [(v, k) for (k, v) in d.items()]``."
52445244
msgstr ""
5245+
"键和值是按插入时的顺序进行迭代的。 这样就允许使用 :func:`zip` 来创建 ``(值, 键)`` 对: ``pairs = "
5246+
"zip(d.values(), d.keys())``。 另一个创建相同列表的方式是 ``pairs = [(v, k) for (k, v) in "
5247+
"d.items()]``."
52455248

52465249
#: ../../library/stdtypes.rst:4325
52475250
msgid ""
52485251
"Iterating views while adding or deleting entries in the dictionary may raise"
52495252
" a :exc:`RuntimeError` or fail to iterate over all entries."
5250-
msgstr ""
5253+
msgstr "在添加或删除字典中的条目期间对视图进行迭代可能引发 :exc:`RuntimeError` 或者无法完全迭代所有条目。"
52515254

52525255
#: ../../library/stdtypes.rst:4328
52535256
msgid "Dictionary order is guaranteed to be insertion order."
5254-
msgstr ""
5257+
msgstr "字典顺序会确保为插入顺序。"
52555258

52565259
#: ../../library/stdtypes.rst:4333
52575260
msgid ""
52585261
"Return ``True`` if *x* is in the underlying dictionary's keys, values or "
52595262
"items (in the latter case, *x* should be a ``(key, value)`` tuple)."
5260-
msgstr ""
5263+
msgstr "如果 *x* 是对应字典中存在的键、值或项(在最后一种情况下 *x* 应为一个 ``(键, 值)`` 元组) 则返回 ``True``。"
52615264

52625265
#: ../../library/stdtypes.rst:4337
52635266
msgid ""

0 commit comments

Comments
 (0)