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

Skip to content

Commit 88dafae

Browse files
committed
[po] auto sync bot
1 parent 0ba0138 commit 88dafae

2 files changed

Lines changed: 22 additions & 9 deletions

File tree

library/itertools.po

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ msgstr ""
453453
msgid ""
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
459459
msgid "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::"
534534
msgstr ""
535+
"创建一个迭代器,它从 *start* 值开始,返回均匀间隔的值。常用于 :func:`map` 中的实参来生成连续的数据点。此外,还用于 "
536+
":func:`zip` 来添加序列号。大致相当于:"
535537

536538
#: ../../library/itertools.rst:305
537539
msgid ""
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
544546
msgid "Added *step* argument and allowed non-integer arguments."
545-
msgstr ""
547+
msgstr "增加参数 *step* ,允许非整型。"
546548

547549
#: ../../library/itertools.rst:314
548550
msgid ""
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::"
552554
msgstr ""
555+
"创建一个迭代器,返回 *iterable* 中所有元素并保存一个副本。当取完 *iterable* "
556+
"中所有元素,返回副本中的所有元素。无限重复。大致相当于:"
553557

554558
#: ../../library/itertools.rst:328
555559
msgid ""
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
561565
msgid ""
@@ -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::"
566570
msgstr ""
571+
"创建一个迭代器,如果 *predicate* 为true,迭代器丢弃这些元素,然后返回其他元素。注意,迭代器在 *predicate* "
572+
"首次为false之前不会产生任何输出,所以可能需要一定长度的启动时间。大致相当于:"
567573

568574
#: ../../library/itertools.rst:351
569575
msgid ""
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::"
573579
msgstr ""
580+
"创建一个迭代器,只返回 *iterable* 中 *predicate* 为 ``False`` 的元素。如果 *predicate* 是 "
581+
"``None``,返回真值测试为false的元素。大致相当于:"
574582

575583
#: ../../library/itertools.rst:366
576584
msgid ""

library/tk.po

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ msgid ""
2929
"programmers using the :mod:`tkinter` package, and its extension, the "
3030
":mod:`tkinter.tix` and the :mod:`tkinter.ttk` modules."
3131
msgstr ""
32-
"Tcl/Tk集成到Python中已经有一些年头了。Python程序员可以通过:mod:`tkinter`包和它的扩展,:mod:`tkinter.tix`模块和:mod:`tkinter.ttk`模块,来使用这套鲁棒的、平台无关的窗口工具集。"
32+
"Tcl/Tk集成到Python中已经有一些年头了。Python程序员可以通过 :mod:`tkinter` 包和它的扩展, "
33+
":mod:`tkinter.tix` 模块和 :mod:`tkinter.ttk` 模块,来使用这套鲁棒的、平台无关的窗口工具集。"
3334

3435
#: ../../library/tk.rst:18
3536
msgid ""
@@ -40,7 +41,10 @@ msgid ""
4041
"classes. In addition, the internal module :mod:`_tkinter` provides a "
4142
"threadsafe mechanism which allows Python and Tcl to interact."
4243
msgstr ""
43-
":mod:`tkinter`包使用面向对象的方式对Tcl/Tk进行了一层薄包装。使用:mod:`tkinter`,你不需要写Tcl代码,但可能需要参考Tk文档,甚至Tcl文档。:mod:`tkinter`使用Python类,对Tk的窗体小部件(Widgets)进行了一系列的封装。除此之外,内部模块:mod:`_tkinter`针对Python和Tcl之间的交互,提供了一套线程安全的机制。"
44+
":mod:`tkinter` 包使用面向对象的方式对Tcl/Tk进行了一层薄包装。使用 :mod:`tkinter` "
45+
",你不需要写Tcl代码,但可能需要参考Tk文档,甚至Tcl文档。 :mod:`tkinter` "
46+
"使用Python类,对Tk的窗体小部件(Widgets)进行了一系列的封装。除此之外,内部模块 :mod:`_tkinter` "
47+
"针对Python和Tcl之间的交互,提供了一套线程安全的机制。"
4448

4549
#: ../../library/tk.rst:25
4650
msgid ""
@@ -52,6 +56,7 @@ msgid ""
5256
" GUI libraries that you could be interested in. For more information about "
5357
"alternatives, see the :ref:`other-gui-packages` section."
5458
msgstr ""
55-
":mod:`tkinter`最大的优点就一个字:快,再一个,是Python自带的。尽管官方文档不太完整,但有其他资源可以参考,比如Tk手册,教程等。:mod:`tkinter`也以比较过时的外观为人所知,但在Tk"
56-
" 8.5中,这一点得到了极大的改观。除此之外,如果有兴趣,还有其他的一些GUI库可供使用。更多信息,请参考 :ref:`other-gui-"
57-
"packages` 小节。"
59+
":mod:`tkinter` 最大的优点就一个字:快,再一个,是Python自带的。尽管官方文档不太完整,但有其他资源可以参考,比如Tk手册,教程等。 "
60+
":mod:`tkinter` 也以比较过时的外观为人所知,但在Tk "
61+
"8.5中,这一点得到了极大的改观。除此之外,如果有兴趣,还有其他的一些GUI库可供使用。更多信息,请参考 :ref:`other-gui-"
62+
"packages` 小节。"

0 commit comments

Comments
 (0)