@@ -453,7 +453,7 @@ msgstr ""
453453msgid ""
454454"Alternate constructor for :func:`chain`. Gets chained inputs from a single "
455455"iterable argument that is evaluated lazily. Roughly equivalent to::"
456- msgstr "构建类似 :func:`chian ` 迭代器的另一个选择。从一个单独的可迭代参数中得到链式输入,该参数是延迟计算的。大致相当于: "
456+ msgstr "构建类似 :func:`chain ` 迭代器的另一个选择。从一个单独的可迭代参数中得到链式输入,该参数是延迟计算的。大致相当于: "
457457
458458#: ../../library/itertools.rst:183
459459msgid "Return *r* length subsequences of elements from the input *iterable*."
@@ -532,30 +532,34 @@ msgid ""
532532"data points. Also, used with :func:`zip` to add sequence numbers. Roughly "
533533"equivalent to::"
534534msgstr ""
535+ "创建一个迭代器,它从 *start* 值开始,返回均匀间隔的值。常用于 :func:`map` 中的实参来生成连续的数据点。此外,还用于 "
536+ ":func:`zip` 来添加序列号。大致相当于:"
535537
536538#: ../../library/itertools.rst:305
537539msgid ""
538540"When counting with floating point numbers, better accuracy can sometimes be "
539541"achieved by substituting multiplicative code such as: ``(start + step * i "
540542"for i in count())``."
541- msgstr ""
543+ msgstr "当对浮点数计数时,替换为乘法代码有时精度会更好,例如: ``(start + step * i for i in count())`` 。 "
542544
543545#: ../../library/itertools.rst:309
544546msgid "Added *step* argument and allowed non-integer arguments."
545- msgstr ""
547+ msgstr "增加参数 *step* ,允许非整型。 "
546548
547549#: ../../library/itertools.rst:314
548550msgid ""
549551"Make an iterator returning elements from the iterable and saving a copy of "
550552"each. When the iterable is exhausted, return elements from the saved copy. "
551553"Repeats indefinitely. Roughly equivalent to::"
552554msgstr ""
555+ "创建一个迭代器,返回 *iterable* 中所有元素并保存一个副本。当取完 *iterable* "
556+ "中所有元素,返回副本中的所有元素。无限重复。大致相当于:"
553557
554558#: ../../library/itertools.rst:328
555559msgid ""
556560"Note, this member of the toolkit may require significant auxiliary storage "
557561"(depending on the length of the iterable)."
558- msgstr ""
562+ msgstr "注意,该函数可能需要相当大的辅助空间(取决于 *iterable* 的长度)。 "
559563
560564#: ../../library/itertools.rst:334
561565msgid ""
@@ -564,13 +568,17 @@ msgid ""
564568"does not produce *any* output until the predicate first becomes false, so it"
565569" may have a lengthy start-up time. Roughly equivalent to::"
566570msgstr ""
571+ "创建一个迭代器,如果 *predicate* 为true,迭代器丢弃这些元素,然后返回其他元素。注意,迭代器在 *predicate* "
572+ "首次为false之前不会产生任何输出,所以可能需要一定长度的启动时间。大致相当于:"
567573
568574#: ../../library/itertools.rst:351
569575msgid ""
570576"Make an iterator that filters elements from iterable returning only those "
571577"for which the predicate is ``False``. If *predicate* is ``None``, return the"
572578" items that are false. Roughly equivalent to::"
573579msgstr ""
580+ "创建一个迭代器,只返回 *iterable* 中 *predicate* 为 ``False`` 的元素。如果 *predicate* 是 "
581+ "``None``,返回真值测试为false的元素。大致相当于:"
574582
575583#: ../../library/itertools.rst:366
576584msgid ""
0 commit comments