Skip to content

Commit f975334

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 4443415 commit f975334

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

library/functions.po

+22-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.11\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2023-01-27 14:14+0000\n"
22+
"POT-Creation-Date: 2023-02-03 14:14+0000\n"
2323
"PO-Revision-Date: 2021-06-28 01:06+0000\n"
2424
"Last-Translator: Takeshi Nakazato, 2023\n"
2525
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/"
@@ -3475,50 +3475,70 @@ msgid ""
34753475
"the code that prepared these iterables. Python offers three different "
34763476
"approaches to dealing with this issue:"
34773477
msgstr ""
3478+
"ここで考慮すべきことは、 :func:`zip` に渡されるイテラブルが異なる長さを持つこ"
3479+
"とがあるという点です; ときには意図的な場合もあり、またときにはイテラブルを準"
3480+
"備するコードにおけるバグのこともあるでしょう。 Python はこの問題に対して3つの"
3481+
"異なるアプローチを提供します:"
34783482

34793483
#: ../../library/functions.rst:1911
34803484
msgid ""
34813485
"By default, :func:`zip` stops when the shortest iterable is exhausted. It "
34823486
"will ignore the remaining items in the longer iterables, cutting off the "
34833487
"result to the length of the shortest iterable::"
34843488
msgstr ""
3489+
"デフォルトでは、 :func:`zip` は最も短いイテラブルが消費しきった時点で停止しま"
3490+
"す。より繰り返し数の長いイテラブルの残りの要素は無視して、結果を最も短いイテ"
3491+
"ラブルの長さに切り詰めます::"
34853492

34863493
#: ../../library/functions.rst:1918
34873494
msgid ""
34883495
":func:`zip` is often used in cases where the iterables are assumed to be of "
34893496
"equal length. In such cases, it's recommended to use the ``strict=True`` "
34903497
"option. Its output is the same as regular :func:`zip`::"
34913498
msgstr ""
3499+
":func:`zip` は、しばしば受け取ったイテラブルが全て同じ長さであるという想定の"
3500+
"下で使われます。そのような場合、 ``strict=True`` オプションの利用が推奨されま"
3501+
"す。その出力は通常の :func:`zip` と同じです::"
34923502

34933503
#: ../../library/functions.rst:1925
34943504
msgid ""
34953505
"Unlike the default behavior, it raises a :exc:`ValueError` if one iterable "
34963506
"is exhausted before the others:"
34973507
msgstr ""
3508+
"しかし、デフォルトの動作と異なり、あるイテラブルが他のイテラブルよりも先に消"
3509+
"費しきった場合に :exc:`ValueError`例外を送出します:"
34983510

34993511
#: ../../library/functions.rst:1943
35003512
msgid ""
35013513
"Without the ``strict=True`` argument, any bug that results in iterables of "
35023514
"different lengths will be silenced, possibly manifesting as a hard-to-find "
35033515
"bug in another part of the program."
35043516
msgstr ""
3517+
"``strict=True`` 引数なしの場合、長さの異なるイテラブルを生じる原因となるいか"
3518+
"なるバグも、この時点では問題なく処理されます。そして代わりにプログラムの別の"
3519+
"場所で、原因を特定しにくいバグとして検出されることになるでしょう。"
35053520

35063521
#: ../../library/functions.rst:1947
35073522
msgid ""
35083523
"Shorter iterables can be padded with a constant value to make all the "
35093524
"iterables have the same length. This is done by :func:`itertools."
35103525
"zip_longest`."
35113526
msgstr ""
3527+
"短いイテラブルを一定の値でパディングして全てのイテラブルが同じ長さになるよう"
3528+
"にすることもできます。この機能は :func:`itertools.zip_longest` で提供されま"
3529+
"す。"
35123530

35133531
#: ../../library/functions.rst:1951
35143532
msgid ""
35153533
"Edge cases: With a single iterable argument, :func:`zip` returns an iterator "
35163534
"of 1-tuples. With no arguments, it returns an empty iterator."
35173535
msgstr ""
3536+
"エッジケース: 引数としてイテラブルをひとつだけ渡した場合、 :func:`zip` は 1 "
3537+
"タプルのイテレータを返します。引数なしの場合は空のイテレータを返します。"
35183538

35193539
#: ../../library/functions.rst:1954
35203540
msgid "Tips and tricks:"
3521-
msgstr ""
3541+
msgstr "ヒントとコツ:"
35223542

35233543
#: ../../library/functions.rst:1956
35243544
msgid ""

0 commit comments

Comments
 (0)