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

Skip to content

Commit e7cd7f4

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parent bb1a039 commit e7cd7f4

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

library/stdtypes.po

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6030,6 +6030,13 @@ msgid ""
60306030
"an empty list. To get distinct values, use a :ref:`dict comprehension "
60316031
"<dict>` instead."
60326032
msgstr ""
6033+
":meth:`fromkeys` は新しい辞書を返すクラスメソッドです。\n"
6034+
"*value* はデフォルトで ``None`` となります。\n"
6035+
"作られる辞書内のすべての値が同一のインスタンスを指すことになるため、*value* "
6036+
"にミュータブルなオブジェクト (例えば空のリスト) を指定しても通常意味はありま"
6037+
"せん。\n"
6038+
"別々の値を指すようにしたい場合は、代わりに :ref:`辞書内包表記 <dict>` を使用"
6039+
"してください。"
60336040

60346041
#: ../../library/stdtypes.rst:4440
60356042
msgid ""
@@ -6145,20 +6152,29 @@ msgid ""
61456152
"always return ``False``. This also applies when comparing ``dict.values()`` "
61466153
"to itself::"
61476154
msgstr ""
6155+
"``dict.values()`` で得られた2つのビューの等しさを比較すると、必ず ``False`` "
6156+
"が返ります。\n"
6157+
"``dict.values()`` どうしを比較したときも同様です::"
61486158

61496159
#: ../../library/stdtypes.rst:4511
61506160
msgid ""
61516161
"Create a new dictionary with the merged keys and values of *d* and *other*, "
61526162
"which must both be dictionaries. The values of *other* take priority when "
61536163
"*d* and *other* share keys."
61546164
msgstr ""
6165+
"*d* と *other* のキーと値を統合した新しい辞書を作成します。\n"
6166+
"*d* と *other* のキーに重複がある場合は、 *other* の方の値が優先されます。"
61556167

61566168
#: ../../library/stdtypes.rst:4519
61576169
msgid ""
61586170
"Update the dictionary *d* with keys and values from *other*, which may be "
61596171
"either a :term:`mapping` or an :term:`iterable` of key/value pairs. The "
61606172
"values of *other* take priority when *d* and *other* share keys."
61616173
msgstr ""
6174+
"辞書 *d* のキーと値を *other* で更新します。\n"
6175+
"*other* は :term:`マッピング <mapping>` か、またはキーと値のペアの :term:`イ"
6176+
"テラブル <iterable>` です。\n"
6177+
"*d* と *other* のキーに重複がある場合は、 *other* の方の値が優先されます。"
61626178

61636179
#: ../../library/stdtypes.rst:4525
61646180
msgid ""
@@ -6189,11 +6205,11 @@ msgstr ""
61896205

61906206
#: ../../library/stdtypes.rst:4551
61916207
msgid "Dictionaries and dictionary views are reversible. ::"
6192-
msgstr ""
6208+
msgstr "辞書と辞書のビューは ``reversed()`` で順序を逆にすることができます::"
61936209

61946210
#: ../../library/stdtypes.rst:4563
61956211
msgid "Dictionaries are now reversible."
6196-
msgstr ""
6212+
msgstr "辞書がリバース可能になりました。"
61976213

61986214
#: ../../library/stdtypes.rst:4568
61996215
msgid ""
@@ -6276,10 +6292,12 @@ msgid ""
62766292
"Return a reverse iterator over the keys, values or items of the dictionary. "
62776293
"The view will be iterated in reverse order of the insertion."
62786294
msgstr ""
6295+
"辞書のキーもしくは値、項目の順序を逆にしたイテレーターを返します。\n"
6296+
"戻り値のビューは、挿入された順とは逆の順でイテレートします。"
62796297

62806298
#: ../../library/stdtypes.rst:4615
62816299
msgid "Dictionary views are now reversible."
6282-
msgstr ""
6300+
msgstr "辞書のビューがリバース可能になりました。"
62836301

62846302
#: ../../library/stdtypes.rst:4619
62856303
msgid ""
@@ -6441,7 +6459,7 @@ msgstr ""
64416459

64426460
#: ../../library/stdtypes.rst:4736
64436461
msgid "Generic Alias Type"
6444-
msgstr ""
6462+
msgstr "ジェネリックエイリアス型"
64456463

64466464
#: ../../library/stdtypes.rst:4742
64476465
msgid ""

library/zipfile.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ msgid ""
218218
"Open a ZIP file, where *file* can be a path to a file (a string), a file-"
219219
"like object or a :term:`path-like object`."
220220
msgstr ""
221+
"ZIP ファイルを開きます。 *file* はファイルのパス (文字列) か、ファイルライク"
222+
"オブジェクト、 :term:`path-like object` のいずれかです。"
221223

222224
#: ../../library/zipfile.rst:147
223225
msgid ""

0 commit comments

Comments
 (0)