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

Skip to content

Commit 404d48f

Browse files
committed
[po] auto sync bot
1 parent fcc98d0 commit 404d48f

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

library/itertools.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -725,12 +725,14 @@ msgid ""
725725
":func:`map` for invariant parameters to the called function. Also used with"
726726
" :func:`zip` to create an invariant part of a tuple record."
727727
msgstr ""
728+
"创建一个迭代器,不断重复 *object* 。除非设定参数 *times* ,否则将无限重复。可用于 :func:`map` "
729+
"函数中的参数,被调用函数可得到一个不变参数。也可用于 :func:`zip` 的参数以在元组记录中创建一个不变的部分。"
728730

729731
#: ../../library/itertools.rst:568
730732
msgid ""
731733
"A common use for *repeat* is to supply a stream of constant values to *map* "
732734
"or *zip*::"
733-
msgstr ""
735+
msgstr "*repeat* 最常见的用途就是在 *map* 或 *zip* 提供一个常量流:"
734736

735737
#: ../../library/itertools.rst:576
736738
msgid ""
@@ -741,23 +743,27 @@ msgid ""
741743
" the distinction between ``function(a,b)`` and ``function(*c)``. Roughly "
742744
"equivalent to::"
743745
msgstr ""
746+
"创建一个迭代器,从可迭代对象中获取元素作为函数参数从而得到结果。当参数已经从一个可迭代对象压缩到元组,使用它来代替 :func:`map`(数据已经被 "
747+
"\"pre-zipped\")。它们之间的区别类似于 ``function(a,b)`` 和 ``funcation(*c)`` 。大致相当于:"
744748

745749
#: ../../library/itertools.rst:590
746750
msgid ""
747751
"Make an iterator that returns elements from the iterable as long as the "
748752
"predicate is true. Roughly equivalent to::"
749-
msgstr ""
753+
msgstr "创建一个迭代器,从可迭代对象中返回元素,只要 *predicate* 为true。大致相当于:"
750754

751755
#: ../../library/itertools.rst:604
752756
msgid "Return *n* independent iterators from a single iterable."
753-
msgstr ""
757+
msgstr "从一个可迭代对象中返回 *n* 个独立的迭代器。"
754758

755759
#: ../../library/itertools.rst:606
756760
msgid ""
757761
"The following Python code helps explain what *tee* does (although the actual"
758762
" implementation is more complex and uses only a single underlying "
759763
":abbr:`FIFO (first-in, first-out)` queue)."
760764
msgstr ""
765+
"下面的Python代码能帮助解释 *tee* 做了什么(尽管实际的实现更复杂,而且仅使用了一个底层的 :abbr:`FIFO (first in, "
766+
"first-out)` 队列)。"
761767

762768
#: ../../library/itertools.rst:627
763769
msgid ""

0 commit comments

Comments
 (0)