@@ -15,7 +15,7 @@ msgid ""
1515msgstr ""
1616"Project-Id-Version : Python 3.7\n "
1717"Report-Msgid-Bugs-To : \n "
18- "POT-Creation-Date : 2018-10-07 09:22 +0900\n "
18+ "POT-Creation-Date : 2018-12-20 10:06 +0900\n "
1919"PO-Revision-Date : 2017-02-16 23:04+0000\n "
2020"Last-Translator : Naoki INADA <songofacandy@gmail.com>, 2017\n "
2121"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -27,8 +27,8 @@ msgstr ""
2727
2828#: ../../library/contextlib.rst:2
2929msgid ""
30- ":mod:`contextlib` --- Utilities for :keyword:`with`\\ -statement contexts"
31- msgstr ":mod:`contextlib` --- :keyword:`with` 文コンテキスト用ユーティリティ "
30+ ":mod:`! contextlib` --- Utilities for :keyword:`! with`\\ -statement contexts"
31+ msgstr ""
3232
3333#: ../../library/contextlib.rst:7
3434msgid "**Source code:** :source:`Lib/contextlib.py`"
@@ -99,11 +99,9 @@ msgstr ""
9999msgid ""
100100"The function being decorated must return a :term:`generator`-iterator when "
101101"called. This iterator must yield exactly one value, which will be bound to "
102- "the targets in the :keyword:`with` statement's :keyword:`as` clause, if any."
102+ "the targets in the :keyword:`with` statement's :keyword:`!as` clause, if "
103+ "any."
103104msgstr ""
104- "デコレート対象の関数は呼び出されたときに :term:`ジェネレータ "
105- "<generator>`-イテレータを返す必要があります。このイテレータは必ず値を1つ yield しなければなりません。 "
106- ":keyword:`with` 文の :keyword:`as` 節が存在するなら、その値は as 節のターゲットへ束縛されることになります。"
107105
108106#: ../../library/contextlib.rst:77
109107msgid ""
@@ -116,17 +114,10 @@ msgid ""
116114"place. If an exception is trapped merely in order to log it or to perform "
117115"some action (rather than to suppress it entirely), the generator must "
118116"reraise that exception. Otherwise the generator context manager will "
119- "indicate to the :keyword:`with` statement that the exception has been "
117+ "indicate to the :keyword:`! with` statement that the exception has been "
120118"handled, and execution will resume with the statement immediately following "
121- "the :keyword:`with` statement."
119+ "the :keyword:`! with` statement."
122120msgstr ""
123- "ジェネレータが yield を実行した箇所で :keyword:`with` "
124- "文のネストされたブロックが実行されます。ブロックから抜けた後でジェネレータは再開されます。ブロック内で処理されない例外が発生した場合は、ジェネレータ内部の"
125- " yield を実行した箇所で例外が再送出されます。なので、(もしあれば) "
126- "エラーを捕捉したり、クリーンアップ処理を確実に実行したりするために、:keyword:`try`...\\ :keyword:`except`...\\ "
127- " :keyword:`finally` 構文を使用できます。例外を捕捉する目的が、(完全に例外を抑制してしまうのではなく) "
128- "単に例外のログをとるため、もしくはあるアクションを実行するためなら、ジェネレータはその例外を再送出しなければなりません。例外を再送出しない場合、ジェネレータのコンテキストマネージャは"
129- " :keyword:`with` 文に対して例外が処理されたことを示し、:keyword:`with` 文の直後の文から実行を再開します。"
130121
131122#: ../../library/contextlib.rst:89
132123msgid ""
@@ -326,10 +317,8 @@ msgid ""
326317"As the decorated function must be able to be called multiple times, the "
327318"underlying context manager must support use in multiple :keyword:`with` "
328319"statements. If this is not the case, then the original construct with the "
329- "explicit :keyword:`with` statement inside the function should be used."
320+ "explicit :keyword:`! with` statement inside the function should be used."
330321msgstr ""
331- "デコレートされた関数が複数回呼び出せるように、内部のコンテキストマネージャーは複数の :keyword:`with` "
332- "文に対応する必要があります。そうでないなら、明示的な :keyword:`with` 文を関数内で利用するべきです。"
333322
334323#: ../../library/contextlib.rst:356
335324msgid ""
@@ -767,8 +756,8 @@ msgstr ""
767756msgid ""
768757"More sophisticated context managers may be \" reentrant\" . These context "
769758"managers can not only be used in multiple :keyword:`with` statements, but "
770- "may also be used *inside* a :keyword:`with` statement that is already using "
771- "the same context manager."
759+ "may also be used *inside* a :keyword:`! with` statement that is already using"
760+ " the same context manager."
772761msgstr ""
773762
774763#: ../../library/contextlib.rst:777
0 commit comments