1111# E. Kawashima, 2017
1212# 秘湯 <xwhhsprings@gmail.com>, 2017
1313# yudetamago <yudetamago.orz@gmail.com>, 2018
14- # tomo, 2018
1514# Osamu NAKAMURA, 2019
15+ # tomo, 2019
1616#
1717#, fuzzy
1818msgid ""
@@ -21,7 +21,7 @@ msgstr ""
2121"Report-Msgid-Bugs-To : \n "
2222"POT-Creation-Date : 2019-06-20 11:41+0900\n "
2323"PO-Revision-Date : 2017-02-16 23:15+0000\n "
24- "Last-Translator : Osamu NAKAMURA , 2019\n "
24+ "Last-Translator : tomo , 2019\n "
2525"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
2626"MIME-Version : 1.0\n "
2727"Content-Type : text/plain; charset=UTF-8\n "
@@ -426,6 +426,8 @@ msgid ""
426426"raise a :exc:`ValueError` (or :exc:`UnsupportedOperation`) when operations "
427427"they do not support are called."
428428msgstr ""
429+ ":class:`IOBase` では :meth:`read`, :meth:`write` が宣言されていませんが、これはシグナチャが変化するためで、実装やクライアントはこれらのメソッドをインタフェースの一部として考えるべきです。\n"
430+ "また、実装はサポートしていない操作を呼び出されたときは :exc:`ValueError` (または :exc:`UnsupportedOperation`) を発生させるかもしれません。"
429431
430432#: ../../library/io.rst:235
431433msgid ""
@@ -434,6 +436,9 @@ msgid ""
434436"accepted as method arguments too. Text I/O classes work with :class:`str` "
435437"data."
436438msgstr ""
439+ "ファイルへのバイナリデータの読み書きに用いられる基本型は :class:`bytes` です。\n"
440+ "他の :term:`bytes-like オブジェクト <bytes-like object>` もメソッドの引数として受け付けられます。\n"
441+ "テキスト I/O クラスは :class:`str` データを扱います。"
437442
438443#: ../../library/io.rst:239
439444msgid ""
@@ -707,6 +712,9 @@ msgid ""
707712":class:`bytearray`. If the object is in non-blocking mode and no bytes are "
708713"available, ``None`` is returned."
709714msgstr ""
715+ "あらかじめ確保された書き込み可能な :term:`bytes 類オブジェクト <bytes-like object>` *b* にバイト列を読み込み、読み込んだバイト数を返します。\n"
716+ "例えば、 *b* は :class:`bytearray` です。\n"
717+ "オブジェクトがノンブロッキングモードで、 1 バイトも読み込めなければ、 ``None`` が返されます。"
710718
711719#: ../../library/io.rst:412
712720msgid ""
@@ -854,6 +862,8 @@ msgid ""
854862"return the number of bytes read. For example, *b* might be a "
855863":class:`bytearray`."
856864msgstr ""
865+ "あらかじめ確保された書き込み可能な :term:`bytes 類オブジェクト <bytes-like object>` *b* にバイト列を読み込み、読み込んだバイト数を返します。\n"
866+ "例えば、 *b* は :class:`bytearray` です。"
857867
858868#: ../../library/io.rst:499
859869msgid ""
@@ -1266,6 +1276,10 @@ msgid ""
12661276" interface to stream I/O. It inherits :class:`IOBase`. There is no public "
12671277"constructor."
12681278msgstr ""
1279+ "テキストストリームの基底クラスです。\n"
1280+ "このクラスはストリーム I/O への、文字と行に基づいたインタフェースを提供します。\n"
1281+ ":class:`IOBase` を継承します。\n"
1282+ "パブリックなコンストラクタはありません。"
12691283
12701284#: ../../library/io.rst:763
12711285msgid ""
@@ -1527,6 +1541,8 @@ msgid ""
15271541"Parameters not specified keep current settings, except ``errors='strict'`` "
15281542"is used when *encoding* is specified but *errors* is not specified."
15291543msgstr ""
1544+ "*encoding* が指定されており、*errors* が指定されていないときに、 ``errors='strict'`` "
1545+ "が使われている場合を除き、指定されなかったパラメータは現在の設定が保持されます。"
15301546
15311547#: ../../library/io.rst:930
15321548msgid ""
0 commit comments