Skip to content

Commit ccc7034

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parent f10ef54 commit ccc7034

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

library/stdtypes.po

+15-3
Original file line numberDiff line numberDiff line change
@@ -5930,6 +5930,13 @@ msgid ""
59305930
"an empty list. To get distinct values, use a :ref:`dict comprehension "
59315931
"<dict>` instead."
59325932
msgstr ""
5933+
":meth:`fromkeys` は新しい辞書を返すクラスメソッドです。\n"
5934+
"*value* はデフォルトで ``None`` となります。\n"
5935+
"作られる辞書内のすべての値が同一のインスタンスを指すことになるため、*value* "
5936+
"にミュータブルなオブジェクト (例えば空のリスト) を指定しても通常意味はありま"
5937+
"せん。\n"
5938+
"別々の値を指すようにしたい場合は、代わりに :ref:`辞書内包表記 <dict>` を使用"
5939+
"してください。"
59335940

59345941
#: ../../library/stdtypes.rst:4315
59355942
msgid ""
@@ -6045,6 +6052,9 @@ msgid ""
60456052
"always return ``False``. This also applies when comparing ``dict.values()`` "
60466053
"to itself::"
60476054
msgstr ""
6055+
"``dict.values()`` で得られた2つのビューの等しさを比較すると、必ず ``False`` "
6056+
"が返ります。\n"
6057+
"``dict.values()`` どうしを比較したときも同様です::"
60486058

60496059
#: ../../library/stdtypes.rst:4384
60506060
msgid ""
@@ -6075,11 +6085,11 @@ msgstr ""
60756085

60766086
#: ../../library/stdtypes.rst:4410
60776087
msgid "Dictionaries and dictionary views are reversible. ::"
6078-
msgstr ""
6088+
msgstr "辞書と辞書のビューは ``reversed()`` で順序を逆にすることができます::"
60796089

60806090
#: ../../library/stdtypes.rst:4422
60816091
msgid "Dictionaries are now reversible."
6082-
msgstr ""
6092+
msgstr "辞書がリバース可能になりました。"
60836093

60846094
#: ../../library/stdtypes.rst:4427
60856095
msgid ""
@@ -6162,10 +6172,12 @@ msgid ""
61626172
"Return a reverse iterator over the keys, values or items of the dictionary. "
61636173
"The view will be iterated in reverse order of the insertion."
61646174
msgstr ""
6175+
"辞書のキーもしくは値、項目の順序を逆にしたイテレーターを返します。\n"
6176+
"戻り値のビューは、挿入された順とは逆の順でイテレートします。"
61656177

61666178
#: ../../library/stdtypes.rst:4474
61676179
msgid "Dictionary views are now reversible."
6168-
msgstr ""
6180+
msgstr "辞書のビューがリバース可能になりました。"
61696181

61706182
#: ../../library/stdtypes.rst:4478
61716183
msgid ""

library/zipfile.po

+2
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ msgid ""
207207
"Open a ZIP file, where *file* can be a path to a file (a string), a file-"
208208
"like object or a :term:`path-like object`."
209209
msgstr ""
210+
"ZIP ファイルを開きます。 *file* はファイルのパス (文字列) か、ファイルライク"
211+
"オブジェクト、 :term:`path-like object` のいずれかです。"
210212

211213
#: ../../library/zipfile.rst:148
212214
msgid ""

0 commit comments

Comments
 (0)