88msgstr ""
99"Project-Id-Version : Python 3.7\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2018-06-30 05:56 +0900\n "
11+ "POT-Creation-Date : 2018-07-28 08:41 +0900\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1313"Last-Translator : Yoshikazu KARASAWA <gymnopedien@gmail.com>, 2017\n "
1414"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -74,19 +74,7 @@ msgstr "*value* の整列化表現が入ったバイト列オブジェクトを
7474msgid "The following functions allow marshalled values to be read back in."
7575msgstr "以下の関数を使うと、整列化された値を読み戻せます。"
7676
77- #: ../../c-api/marshal.rst:43
78- msgid ""
79- "XXX What about error detection? It appears that reading past the end of the"
80- " file will always result in a negative numeric value (where that's "
81- "relevant), but it's not clear that negative values won't be handled properly"
82- " when there's no error. What's the right way to tell? Should only non-"
83- "negative values be written using these routines?"
84- msgstr ""
85- "XXX エラー検知はどうなってる? ファイルの末尾を読み出すと、 (それが関連したところでは) "
86- "常に負の数値が結果として生じるようであるけれども、エラーがない時に負の値が適切に処理されないことはクリアではない。それを知るための正しい方法は? "
87- "これらのルーチンを使って非負の値だけ書くべきなのか?"
88-
89- #: ../../c-api/marshal.rst:52
77+ #: ../../c-api/marshal.rst:46
9078msgid ""
9179"Return a C :c:type:`long` from the data stream in a :c:type:`FILE\\ *` opened"
9280" for reading. Only a 32-bit value can be read in using this function, "
@@ -95,11 +83,13 @@ msgstr ""
9583"読み出し用に開かれた :c:type:`FILE\\ *` 内のデータストリームから、 C の :c:type:`long` "
9684"型データを読み出して返します。この関数は、ネイティブの :c:type:`long` のサイズに関係なく、 32 ビットの値だけを読み出せます。"
9785
98- #: ../../c-api/marshal.rst:56 ../../c-api/marshal.rst:65
99- msgid "On error, raise an exception and return ``-1``."
100- msgstr "エラーの場合例外を送出し ``-1`` を返します。"
86+ #: ../../c-api/marshal.rst:50 ../../c-api/marshal.rst:60
87+ msgid ""
88+ "On error, sets the appropriate exception (:exc:`EOFError`) and returns "
89+ "``-1``."
90+ msgstr ""
10191
102- #: ../../c-api/marshal.rst:61
92+ #: ../../c-api/marshal.rst:56
10393msgid ""
10494"Return a C :c:type:`short` from the data stream in a :c:type:`FILE\\ *` "
10595"opened for reading. Only a 16-bit value can be read in using this function,"
@@ -108,20 +98,20 @@ msgstr ""
10898"読み出し用に開かれた :c:type:`FILE\\ *` 内のデータストリームから、 C の :c:type:`short` "
10999"型データを読み出して返します。この関数は、ネイティブの :c:type:`short` のサイズに関係なく、 16 ビットの値だけを読み出せます。"
110100
111- #: ../../c-api/marshal.rst:70
101+ #: ../../c-api/marshal.rst:66
112102msgid ""
113103"Return a Python object from the data stream in a :c:type:`FILE\\ *` opened "
114104"for reading."
115105msgstr "読み出し用に開かれた :c:type:`FILE\\ *` 内のデータストリームから Python オブジェクトを返します。"
116106
117- #: ../../c-api/marshal.rst:73 ../../c-api/marshal.rst:87
118- #: ../../c-api/marshal.rst:96
107+ #: ../../c-api/marshal.rst:69 ../../c-api/marshal.rst:83
108+ #: ../../c-api/marshal.rst:92
119109msgid ""
120- "On error, sets the appropriate exception (:exc:`EOFError` or "
121- ":exc:`TypeError`) and returns *NULL*."
122- msgstr "エラーの場合適切な例外 (:exc:`EOFError` か :exc:`TypeError`) を設定し *NULL* を返します。 "
110+ "On error, sets the appropriate exception (:exc:`EOFError`, :exc:`ValueError` "
111+ " or :exc:`TypeError`) and returns *NULL*."
112+ msgstr ""
123113
124- #: ../../c-api/marshal.rst:79
114+ #: ../../c-api/marshal.rst:75
125115msgid ""
126116"Return a Python object from the data stream in a :c:type:`FILE\\ *` opened "
127117"for reading. Unlike :c:func:`PyMarshal_ReadObjectFromFile`, this function "
@@ -135,7 +125,7 @@ msgstr ""
135125":c:func:`PyMarshal_ReadObjectFromFile` "
136126"と違い、この関数はファイル中に後続のオブジェクトが存在しないと仮定し、ファイルからメモリ上にファイルデータを一気にメモリにロードして、逆整列化機構がファイルから一バイトづつ読み出す代わりにメモリ上のデータを操作できるようにします。対象のファイルから他に何も読み出さないと分かっている場合にのみ、この関数を使ってください。"
137127
138- #: ../../c-api/marshal.rst:93
128+ #: ../../c-api/marshal.rst:89
139129msgid ""
140130"Return a Python object from the data stream in a byte buffer containing "
141131"*len* bytes pointed to by *data*."
0 commit comments