@@ -43,13 +43,17 @@ msgstr ""
4343"標準になるリリースの前に Python コンパイラーが future 文を含むモジュールで "
4444"Python の新機能を使用できるようにします。"
4545
46- #: ../../library/__future__.rst:16
4746msgid ""
4847"While these future statements are given additional special meaning by the "
4948"Python compiler, they are still executed like any other import statement and "
5049"the :mod:`!__future__` exists and is handled by the import system the same "
5150"way any other Python module would be. This design serves three purposes:"
5251msgstr ""
52+ "Python コンパイラはこれらの future 文に特別な意味を与えますが、文自体は他の "
53+ "import 文と同じように実行されます。\n"
54+ ":mod:`!__future__` も実在するモジュールで、インポートシステムは他の Python モ"
55+ "ジュールと同じように扱います。\n"
56+ "この設計には三つの目的があります。"
5357
5458#: ../../library/__future__.rst:21
5559msgid ""
@@ -59,48 +63,52 @@ msgstr ""
5963"import 文を解析する既存のツールを混乱させることを避け、インポートしようとして"
6064"いるモジュールを見つけられるようにするため。"
6165
62- #: ../../library/__future__.rst:24
6366msgid ""
6467"To document when incompatible changes were introduced, and when they will be "
6568"--- or were --- made mandatory. This is a form of executable documentation, "
6669"and can be inspected programmatically via importing :mod:`!__future__` and "
6770"examining its contents."
6871msgstr ""
72+ "互換性のない変更がいつ導入され、いつ必須になる予定か、またはいつ必須になった"
73+ "かを記録するため。\n"
74+ "これは実行可能なドキュメントの一種で、:mod:`!__future__` をインポートして内容"
75+ "を調べることで、プログラムから確認できます。"
6976
70- #: ../../library/__future__.rst:29
7177msgid ""
7278"To ensure that :ref:`future statements <future>` run under releases prior to "
7379"Python 2.1 at least yield runtime exceptions (the import of :mod:`!"
7480"__future__` will fail, because there was no module of that name prior to "
7581"2.1)."
7682msgstr ""
83+ "Python 2.1 より前のリリースで :ref:`future 文 <future>` を実行した場合に、少"
84+ "なくとも実行時例外が発生するようにするため。\n"
85+ "(2.1 より前にはその名前のモジュールがないため、:mod:`!__future__` のインポー"
86+ "トは失敗します。)"
7787
7888#: ../../library/__future__.rst:34
7989msgid "Module Contents"
8090msgstr "モジュールコンテンツ"
8191
82- #: ../../library/__future__.rst:36
8392msgid ""
8493"No feature description will ever be deleted from :mod:`!__future__`. Since "
8594"its introduction in Python 2.1 the following features have found their way "
8695"into the language using this mechanism:"
8796msgstr ""
97+ ":mod:`!__future__` から機能の説明が削除されることはありません。\n"
98+ "Python 2.1 での導入以来、次の機能がこの仕組みを通して言語に取り入れられまし"
99+ "た。"
88100
89- #: ../../library/__future__.rst:45
90101msgid "feature"
91- msgstr "feature "
102+ msgstr "機能 "
92103
93- #: ../../library/__future__.rst:46
94104msgid "optional in"
95- msgstr "optional in "
105+ msgstr "選択可能になったリリース "
96106
97- #: ../../library/__future__.rst:47
98107msgid "mandatory in"
99- msgstr "mandatory in "
108+ msgstr "必須になったリリース "
100109
101- #: ../../library/__future__.rst:48
102110msgid "effect"
103- msgstr "effect "
111+ msgstr "内容 "
104112
105113#: ../../library/__future__.rst:50
106114msgid "2.1.0b1"
@@ -151,9 +159,8 @@ msgstr ":pep:`328`: *Imports: Multi-Line and Absolute/Relative*"
151159msgid "2.6"
152160msgstr "2.6"
153161
154- #: ../../library/__future__.rst:68
155162msgid ":pep:`343`: *The “with” Statement*"
156- msgstr ""
163+ msgstr ":pep:`343`: *「with」文* "
157164
158165#: ../../library/__future__.rst:70 ../../library/__future__.rst:74
159166msgid "2.6.0a2"
@@ -183,25 +190,26 @@ msgstr ":pep:`479`: *StopIteration handling inside generators*"
183190msgid "3.7.0b1"
184191msgstr "3.7.0b1"
185192
186- #: ../../library/__future__.rst:83
187193msgid "Never [1]_"
188- msgstr ""
194+ msgstr "予定なし [1]_ "
189195
190- #: ../../library/__future__.rst:84
191196msgid ""
192197":pep:`563`: *Postponed evaluation of annotations*, :pep:`649`: *Deferred "
193198"evaluation of annotations using descriptors*"
194199msgstr ""
200+ ":pep:`563`: *アノテーションの評価の延期*、:pep:`649`: *デスクリプタを使ったア"
201+ "ノテーションの遅延評価*"
195202
196203#: ../../library/__future__.rst:93
197204msgid "Each statement in :file:`__future__.py` is of the form::"
198205msgstr ":file:`__future__.py` のそれぞれの文は次のような形式をしています::"
199206
200- #: ../../library/__future__.rst:95
201207msgid ""
202208"FeatureName = _Feature(OptionalRelease, MandatoryRelease,\n"
203209" CompilerFlag)"
204210msgstr ""
211+ "FeatureName = _Feature(OptionalRelease, MandatoryRelease,\n"
212+ " CompilerFlag)"
205213
206214msgid ""
207215"where, normally, *OptionalRelease* is less than *MandatoryRelease*, and both "
@@ -210,7 +218,6 @@ msgstr ""
210218"通常、*OptionalRelease* は *MandatoryRelease* より小さく、どちらも :data:"
211219"`sys.version_info` と同じ形式の 5 要素のタプルです。 ::"
212220
213- #: ../../library/__future__.rst:101
214221msgid ""
215222"(PY_MAJOR_VERSION, # the 2 in 2.1.0a3; an int\n"
216223" PY_MINOR_VERSION, # the 1; an int\n"
@@ -220,6 +227,13 @@ msgid ""
220227" PY_RELEASE_SERIAL # the 3; an int\n"
221228")"
222229msgstr ""
230+ "(PY_MAJOR_VERSION, # 2.1.0a3 の 2。整数\n"
231+ " PY_MINOR_VERSION, # 1。整数\n"
232+ " PY_MICRO_VERSION, # 0。整数\n"
233+ " PY_RELEASE_LEVEL, # \" alpha\" , \" beta\" , \" candidate\" , \" final\" のいずれ"
234+ "か。文字列\n"
235+ " PY_RELEASE_SERIAL # 3。整数\n"
236+ ")"
223237
224238#: ../../library/__future__.rst:110
225239msgid ""
@@ -267,13 +281,16 @@ msgstr ""
267281"のフラグは :class:`_Feature` インスタンスの :attr:`_Feature.compiler_flag` 属"
268282"性に保存されています。"
269283
270- #: ../../library/__future__.rst:133
271284msgid ""
272285"``from __future__ import annotations`` was previously scheduled to become "
273286"mandatory in Python 3.10, but the change was delayed and ultimately "
274287"canceled. This feature will eventually be deprecated and removed. See :pep:"
275288"`649` and :pep:`749`."
276289msgstr ""
290+ "``from __future__ import annotations`` は、以前は Python 3.10 で必須になる予"
291+ "定でしたが、延期された後、最終的に取りやめになりました。\n"
292+ "この機能はいずれ非推奨となり、削除される予定です。\n"
293+ ":pep:`649` と :pep:`749` を参照してください。"
277294
278295#: ../../library/__future__.rst:141
279296msgid ":ref:`future`"
0 commit comments