44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # tomo, 2018
7+ # tomo, 2019
88#
99#, fuzzy
1010msgid ""
@@ -13,7 +13,7 @@ msgstr ""
1313"Report-Msgid-Bugs-To : \n "
1414"POT-Creation-Date : 2019-01-01 15:22+0900\n "
1515"PO-Revision-Date : 2018-06-29 17:25+0000\n "
16- "Last-Translator : tomo, 2018 \n "
16+ "Last-Translator : tomo, 2019 \n "
1717"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
1818"MIME-Version : 1.0\n "
1919"Content-Type : text/plain; charset=UTF-8\n "
@@ -110,6 +110,9 @@ msgid ""
110110"converting :exc:`KeyError` to :exc:`AttributeError`), while leaving the old "
111111"exception available in :attr:`__context__` for introspection when debugging."
112112msgstr ""
113+ ":keyword:`from` に続く式は例外か ``None`` でなくてはなりません。\n"
114+ "式は送出される例外の :attr:`__cause__` として設定されます。\n"
115+ ":attr:`__cause__` を設定することは、 :attr:`__suppress_context__` 属性を暗黙的に ``True`` に設定することにもなるので、 ``raise new_exc from None`` を使うことで効率的に古い例外を新しいもので置き換えて表示する (例えば、 :exc:`KeyError` を :exc:`AttributeError` に置き換え)、古い例外はデバッグ時の調査で使えるよう :attr:`__context__` に残すことができます。"
113116
114117#: ../../library/exceptions.rst:59
115118msgid ""
@@ -758,6 +761,8 @@ msgid ""
758761" type but an inappropriate value, and the situation is not described by a "
759762"more precise exception such as :exc:`IndexError`."
760763msgstr ""
764+ "演算子や関数が、正しい型だが適切でない値を持つ引数を受け取ったときや、 :exc:`IndexError` "
765+ "のようなより詳細な例外では記述できない状況で送出されます。"
761766
762767#: ../../library/exceptions.rst:534
763768msgid ""
0 commit comments