@@ -63,7 +63,7 @@ msgid ""
63
63
"When a description of an arithmetic operator below uses the phrase \" the "
64
64
"numeric arguments are converted to a common type\" , this means that the "
65
65
"operator implementation for built-in types works as follows:"
66
- msgstr ""
66
+ msgstr "以下の算術演算子の記述で、「数値引数は共通の型に変換されます」と書かれているとき、組み込み型に対する演算子の実装は以下の通りに動作します: "
67
67
68
68
#: ../../reference/expressions.rst:34
69
69
msgid ""
@@ -272,13 +272,18 @@ msgid ""
272
272
"enclosing scope as they may depend on the values obtained from the leftmost "
273
273
"iterable. For example: ``[x*y for x in range(10) for y in range(x, x+10)]``."
274
274
msgstr ""
275
+ "最も左にある :keyword:`!for` 節のイテラブル式は、それを直接囲んでいるスコープでそのまま評価され、暗黙的な入れ子のスコープに引数として渡されます。\n"
276
+ "後に続く :keyword:`!for` 節と、最も左にある :keyword:`!for` 節のフィルター条件はイテラブル式を直接囲んでいるスコープでは評価できません。というのは、それらは最も左のイテラブルから得られる値に依存しているかもしれないからです。\n"
277
+ "例えば次の通りです: ``[x*y for x in range(10) for y in range(x, x+10)]`` 。"
275
278
276
279
#: ../../reference/expressions.rst:204
277
280
msgid ""
278
281
"To ensure the comprehension always results in a container of the appropriate"
279
282
" type, ``yield`` and ``yield from`` expressions are prohibited in the "
280
283
"implicitly nested scope."
281
284
msgstr ""
285
+ "内包表記が常に適切な型のコンテナになるのを保証するために、 ``yield`` 式や ``yield from`` "
286
+ "式は暗黙的な入れ子のスコープでは禁止されています。"
282
287
283
288
#: ../../reference/expressions.rst:211
284
289
msgid ""
@@ -306,7 +311,7 @@ msgstr "非同期内包表記が導入されました。"
306
311
#: ../../reference/expressions.rst:226 ../../reference/expressions.rst:397
307
312
msgid ""
308
313
"``yield`` and ``yield from`` prohibited in the implicitly nested scope."
309
- msgstr ""
314
+ msgstr "``yield`` および ``yield from`` は暗黙的な入れ子のスコープでは禁止となりました。 "
310
315
311
316
#: ../../reference/expressions.rst:233
312
317
msgid "List displays"
@@ -475,6 +480,8 @@ msgid ""
475
480
" itself, ``yield`` and ``yield from`` expressions are prohibited in the "
476
481
"implicitly defined generator."
477
482
msgstr ""
483
+ "ジェネレータ式自身の期待される動作を妨げないために、 ``yield`` 式や ``yield from`` "
484
+ "式は暗黙的に定義されたジェネレータでは禁止されています。"
478
485
479
486
#: ../../reference/expressions.rst:383
480
487
msgid ""
@@ -523,12 +530,14 @@ msgid ""
523
530
" not permitted as part of the implicitly defined scopes used to implement "
524
531
"comprehensions and generator expressions."
525
532
msgstr ""
533
+ "含まれているスコープの副作用のため、 ``yield`` "
534
+ "式は暗黙的に定義されたスコープの一部として内包表記やジェネレータ式を実装するのに使うことは許可されていません。 "
526
535
527
536
#: ../../reference/expressions.rst:433
528
537
msgid ""
529
538
"Yield expressions prohibited in the implicitly nested scopes used to "
530
539
"implement comprehensions and generator expressions."
531
- msgstr ""
540
+ msgstr "yield 式は、暗黙的な入れ子のスコープで内包表記やジェネレータ式を実装するための使用が禁止になりました。 "
532
541
533
542
#: ../../reference/expressions.rst:437
534
543
msgid ""
@@ -884,7 +893,7 @@ msgstr ""
884
893
#: ../../reference/expressions.rst:691
885
894
msgid ""
886
895
"This method is normally called implicitly by a :keyword:`async for` loop."
887
- msgstr ""
896
+ msgstr "このメソッドは通常、 :keyword:`for` ループによって暗黙に呼び出されます。 "
888
897
889
898
#: ../../reference/expressions.rst:696
890
899
msgid ""
@@ -1712,6 +1721,11 @@ msgid ""
1712
1721
" 3`` and ``x == x`` are all false, while ``x != x`` is true. This behavior "
1713
1722
"is compliant with IEEE 754."
1714
1723
msgstr ""
1724
+ "非数値である ``float('NaN')`` と ``decimal.Decimal('NaN')`` は特別です。\n"
1725
+ "数と非数値との任意の順序比較は偽です。\n"
1726
+ "直観に反する帰結として、非数値は自分自身と等価ではないことになります。\n"
1727
+ "例えば ``x = float('NaN')`` ならば、 ``3 < x``, ``x < 3``, ``x == x`` は全て偽で、``x != x`` は真です。\n"
1728
+ "この振る舞いは IEEE 754 に従ったものです。"
1715
1729
1716
1730
#: ../../reference/expressions.rst:1429
1717
1731
msgid ""
@@ -1996,7 +2010,7 @@ msgstr ""
1996
2010
msgid ""
1997
2011
"The operator :keyword:`not in` is defined to have the inverse truth value of"
1998
2012
" :keyword:`in`."
1999
- msgstr ""
2013
+ msgstr "演算子 :keyword:`not in` は :keyword:`in` の真理値を反転した値として定義されています。 "
2000
2014
2001
2015
#: ../../reference/expressions.rst:1591
2002
2016
msgid "Identity comparisons"
@@ -2009,6 +2023,9 @@ msgid ""
2009
2023
" An Object's identity is determined using the :meth:`id` function. ``x is "
2010
2024
"not y`` yields the inverse truth value. [#]_"
2011
2025
msgstr ""
2026
+ "演算子 :keyword:`is` および :keyword:`is not` は、オブジェクトの同一性に対するテストを行います: ``x is y`` は、 *x* と *y* が同じオブジェクトを指すとき、かつそのときに限り真になります。\n"
2027
+ "オブジェクトの同一性は :meth:`id` 関数を使って判定されます。\n"
2028
+ "``x is not y`` は :keyword:`is` の真値を反転したものになります。 [#]_"
2012
2029
2013
2030
#: ../../reference/expressions.rst:1605
2014
2031
msgid "Boolean operations"
@@ -2073,7 +2090,7 @@ msgstr "代入式"
2073
2090
2074
2091
#: ../../reference/expressions.rst:1655
2075
2092
msgid "See :pep:`572` for more details about assignment expressions."
2076
- msgstr ""
2093
+ msgstr "代入式に関してより詳しくは :pep:`572` を参照してください。 "
2077
2094
2078
2095
#: ../../reference/expressions.rst:1661
2079
2096
msgid "Conditional expressions"
@@ -2217,11 +2234,11 @@ msgstr "説明"
2217
2234
2218
2235
#: ../../reference/expressions.rst:1800
2219
2236
msgid "``:=``"
2220
- msgstr ""
2237
+ msgstr "``:=`` "
2221
2238
2222
2239
#: ../../reference/expressions.rst:1800
2223
2240
msgid "Assignment expression"
2224
- msgstr ""
2241
+ msgstr "代入式 "
2225
2242
2226
2243
#: ../../reference/expressions.rst:1802
2227
2244
msgid ":keyword:`lambda`"
@@ -2356,17 +2373,17 @@ msgstr "添字指定、スライス操作、呼び出し、属性参照"
2356
2373
2357
2374
#: ../../reference/expressions.rst:1839
2358
2375
msgid "``(expressions...)``,"
2359
- msgstr ""
2376
+ msgstr "``(expressions...)``, "
2360
2377
2361
2378
#: ../../reference/expressions.rst:1841
2362
2379
msgid "``[expressions...]``, ``{key: value...}``, ``{expressions...}``"
2363
- msgstr ""
2380
+ msgstr "``[expressions...]``, ``{key: value...}``, ``{expressions...}`` "
2364
2381
2365
2382
#: ../../reference/expressions.rst:1839
2366
2383
msgid ""
2367
2384
"Binding or parenthesized expression, list display, dictionary display, set "
2368
2385
"display"
2369
- msgstr ""
2386
+ msgstr "結合式または括弧式、リスト表示、辞書表示、集合表示 "
2370
2387
2371
2388
#: ../../reference/expressions.rst:1848
2372
2389
msgid "Footnotes"
0 commit comments