Skip to content

Commit 6b2d918

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython d76d95ea
1 parent 97784a8 commit 6b2d918

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

library/itertools.po

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-05-15 00:04+0000\n"
10+
"POT-Creation-Date: 2024-05-19 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:04+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -805,55 +805,55 @@ msgstr ""
805805
msgid "Return *n* independent iterators from a single iterable."
806806
msgstr ""
807807

808-
#: ../../library/itertools.rst:706
808+
#: ../../library/itertools.rst:707
809809
msgid ""
810810
"Once a :func:`tee` has been created, the original *iterable* should not be "
811811
"used anywhere else; otherwise, the *iterable* could get advanced without the "
812812
"tee objects being informed."
813813
msgstr ""
814814

815-
#: ../../library/itertools.rst:710
815+
#: ../../library/itertools.rst:711
816816
msgid ""
817817
"``tee`` iterators are not threadsafe. A :exc:`RuntimeError` may be raised "
818818
"when simultaneously using iterators returned by the same :func:`tee` call, "
819819
"even if the original *iterable* is threadsafe."
820820
msgstr ""
821821

822-
#: ../../library/itertools.rst:714
822+
#: ../../library/itertools.rst:715
823823
msgid ""
824824
"This itertool may require significant auxiliary storage (depending on how "
825825
"much temporary data needs to be stored). In general, if one iterator uses "
826826
"most or all of the data before another iterator starts, it is faster to use :"
827827
"func:`list` instead of :func:`tee`."
828828
msgstr ""
829829

830-
#: ../../library/itertools.rst:722
830+
#: ../../library/itertools.rst:723
831831
msgid ""
832832
"Make an iterator that aggregates elements from each of the iterables. If the "
833833
"iterables are of uneven length, missing values are filled-in with "
834834
"*fillvalue*. Iteration continues until the longest iterable is exhausted. "
835835
"Roughly equivalent to::"
836836
msgstr ""
837837

838-
#: ../../library/itertools.rst:746
838+
#: ../../library/itertools.rst:747
839839
msgid ""
840840
"If one of the iterables is potentially infinite, then the :func:"
841841
"`zip_longest` function should be wrapped with something that limits the "
842842
"number of calls (for example :func:`islice` or :func:`takewhile`). If not "
843843
"specified, *fillvalue* defaults to ``None``."
844844
msgstr ""
845845

846-
#: ../../library/itertools.rst:755
846+
#: ../../library/itertools.rst:756
847847
msgid "Itertools Recipes"
848848
msgstr ""
849849

850-
#: ../../library/itertools.rst:757
850+
#: ../../library/itertools.rst:758
851851
msgid ""
852852
"This section shows recipes for creating an extended toolset using the "
853853
"existing itertools as building blocks."
854854
msgstr ""
855855

856-
#: ../../library/itertools.rst:760
856+
#: ../../library/itertools.rst:761
857857
msgid ""
858858
"The primary purpose of the itertools recipes is educational. The recipes "
859859
"show various ways of thinking about individual tools — for example, that "
@@ -865,21 +865,21 @@ msgid ""
865865
"``map()``, ``filter()``, ``reversed()``, and ``enumerate()``."
866866
msgstr ""
867867

868-
#: ../../library/itertools.rst:769
868+
#: ../../library/itertools.rst:770
869869
msgid ""
870870
"A secondary purpose of the recipes is to serve as an incubator. The "
871871
"``accumulate()``, ``compress()``, and ``pairwise()`` itertools started out "
872872
"as recipes. Currently, the ``sliding_window()``, ``iter_index()``, and "
873873
"``sieve()`` recipes are being tested to see whether they prove their worth."
874874
msgstr ""
875875

876-
#: ../../library/itertools.rst:774
876+
#: ../../library/itertools.rst:775
877877
msgid ""
878878
"Substantially all of these recipes and many, many others can be installed "
879879
"from the :pypi:`more-itertools` project found on the Python Package Index::"
880880
msgstr ""
881881

882-
#: ../../library/itertools.rst:780
882+
#: ../../library/itertools.rst:781
883883
msgid ""
884884
"Many of the recipes offer the same high performance as the underlying "
885885
"toolset. Superior memory performance is kept by processing elements one at a "
@@ -891,6 +891,6 @@ msgid ""
891891
"overhead."
892892
msgstr ""
893893

894-
#: ../../library/itertools.rst:956
894+
#: ../../library/itertools.rst:957
895895
msgid "The following recipes have a more mathematical flavor:"
896896
msgstr ""

tutorial/venv.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-08-18 00:03+0000\n"
10+
"POT-Creation-Date: 2024-05-19 00:03+0000\n"
1111
"PO-Revision-Date: 2022-10-16 05:35+0800\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -80,12 +80,12 @@ msgid "Creating Virtual Environments"
8080
msgstr "建立虛擬環境"
8181

8282
#: ../../tutorial/venv.rst:38
83+
#, fuzzy
8384
msgid ""
8485
"The module used to create and manage virtual environments is called :mod:"
85-
"`venv`. :mod:`venv` will usually install the most recent version of Python "
86-
"that you have available. If you have multiple versions of Python on your "
87-
"system, you can select a specific Python version by running ``python3`` or "
88-
"whichever version you want."
86+
"`venv`. :mod:`venv` will install the Python version from which the command "
87+
"was run (as reported by the :option:`--version` option). For instance, "
88+
"excuting the command with ``python3.12`` will install version 3.12."
8989
msgstr ""
9090
"用來建立與管理虛擬環境的模組叫做 :mod:`venv`。:mod:`venv` 通常會安裝你能夠取"
9191
"得的最新版本的 Python。要是你的系統有不同版本的 Python,你可以透過 "

0 commit comments

Comments
 (0)