@@ -1067,6 +1067,12 @@ msgid ""
1067
1067
"feature was first added to the language and when it will (or did) become the "
1068
1068
"default::"
1069
1069
msgstr ""
1070
+ "``from __future__ import <feature>`` という :ref:`future 文 <future>` は、コ"
1071
+ "ンパイラーに将来の Python リリースで標準となる構文や意味を使用して現在のモ"
1072
+ "ジュールをコンパイルするよう指示します。 :mod:`__future__` モジュールでは、 "
1073
+ "*feature* のとりうる値をドキュメント化しています。このモジュールをインポート"
1074
+ "し、その変数を評価することで、新機能が最初に言語に追加されたのはいつかや、い"
1075
+ "つデフォルトになるか (またはなったか) を見ることができます::"
1070
1076
1071
1077
#: ../../glossary.rst:483
1072
1078
msgid "garbage collection"
@@ -1302,25 +1308,31 @@ msgstr ""
1302
1308
1303
1309
#: ../../glossary.rst:591
1304
1310
msgid "immortal"
1305
- msgstr ""
1311
+ msgstr "永続オブジェクト (immortal) "
1306
1312
1307
1313
#: ../../glossary.rst:593
1308
1314
msgid ""
1309
1315
"If an object is immortal, its reference count is never modified, and "
1310
1316
"therefore it is never deallocated."
1311
1317
msgstr ""
1318
+ "永続オブジェクトの場合、参照カウントが変更されることはなく、そのため割り当て"
1319
+ "が解除されることもありません。"
1312
1320
1313
1321
#: ../../glossary.rst:596
1314
1322
msgid ""
1315
1323
"Built-in strings and singletons are immortal objects. For example, :const:"
1316
1324
"`True` and :const:`None` singletons are immmortal."
1317
1325
msgstr ""
1326
+ "組み込みの文字列とシングルトンは、永続オブジェクトです。例えば、 :const:"
1327
+ "`True` や :const:`None` シングルトンは永続です。"
1318
1328
1319
1329
#: ../../glossary.rst:599
1320
1330
msgid ""
1321
1331
"See `PEP 683 – Immortal Objects, Using a Fixed Refcount <https://peps.python."
1322
1332
"org/pep-0683/>`_ for more information."
1323
1333
msgstr ""
1334
+ "詳細は `PEP 683 – Immortal Objects, Using a Fixed Refcount <https://peps."
1335
+ "python.org/pep-0683/>`_ を参照してください。"
1324
1336
1325
1337
#: ../../glossary.rst:601
1326
1338
msgid "immutable"
@@ -1496,6 +1508,19 @@ msgid ""
1496
1508
"with an iterator will just return the same exhausted iterator object used in "
1497
1509
"the previous iteration pass, making it appear like an empty container."
1498
1510
msgstr ""
1511
+ "データの流れを表現するオブジェクトです。イテレータの :meth:`~iterator."
1512
+ "__next__` メソッドを繰り返し呼び出す (または組み込み関数 :func:`next` に渡"
1513
+ "す) と、流れの中の要素を一つずつ返します。データがなくなると、代わりに :exc:"
1514
+ "`StopIteration` 例外を送出します。その時点で、イテレータオブジェクトは尽きて"
1515
+ "おり、それ以降は :meth:`!__next__` を何度呼んでも :exc:`StopIteration` を送出"
1516
+ "します。イテレータは、そのイテレータオブジェクト自体を返す :meth:`~iterator."
1517
+ "__iter__` メソッドを実装しなければならないので、イテレータは他の iterable を"
1518
+ "受理するほとんどの場所で利用できます。はっきりとした例外は複数の反復を行うよ"
1519
+ "うなコードです。 (:class:`list` のような) コンテナオブジェクトは、自身を :"
1520
+ "func:`iter` 関数にオブジェクトに渡したり :keyword:`for` ループ内で使うたび"
1521
+ "に、新たな未使用のイテレータを生成します。これをイテレータで行おうとすると、"
1522
+ "前回のイテレーションで使用済みの同じイテレータオブジェクトを単純に返すため、"
1523
+ "空のコンテナのようになってしまします。"
1499
1524
1500
1525
#: ../../glossary.rst:691
1501
1526
msgid "More information can be found in :ref:`typeiter`."
0 commit comments