8
8
msgstr ""
9
9
"Project-Id-Version : Python 3.6\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2018-01-05 15:01+0000 \n "
11
+ "POT-Creation-Date : 2018-07-27 13:58+0900 \n "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
- "Last-Translator : cocoatomo , 2018\n "
13
+ "Last-Translator : tomo🐧 , 2018\n "
14
14
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
15
15
"MIME-Version : 1.0\n "
16
16
"Content-Type : text/plain; charset=UTF-8\n "
@@ -74,19 +74,7 @@ msgstr "*value* の整列化表現が入ったバイト列オブジェクトを
74
74
msgid "The following functions allow marshalled values to be read back in."
75
75
msgstr "以下の関数を使うと、整列化された値を読み戻せます。"
76
76
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
90
78
msgid ""
91
79
"Return a C :c:type:`long` from the data stream in a :c:type:`FILE\\ *` opened"
92
80
" for reading. Only a 32-bit value can be read in using this function, "
@@ -95,11 +83,13 @@ msgstr ""
95
83
"読み出し用に開かれた :c:type:`FILE\\ *` 内のデータストリームから、 C の :c:type:`long` "
96
84
"型データを読み出して返します。この関数は、ネイティブの :c:type:`long` のサイズに関係なく、 32 ビットの値だけを読み出せます。"
97
85
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 ""
101
91
102
- #: ../../c-api/marshal.rst:61
92
+ #: ../../c-api/marshal.rst:56
103
93
msgid ""
104
94
"Return a C :c:type:`short` from the data stream in a :c:type:`FILE\\ *` "
105
95
"opened for reading. Only a 16-bit value can be read in using this function,"
@@ -108,20 +98,20 @@ msgstr ""
108
98
"読み出し用に開かれた :c:type:`FILE\\ *` 内のデータストリームから、 C の :c:type:`short` "
109
99
"型データを読み出して返します。この関数は、ネイティブの :c:type:`short` のサイズに関係なく、 16 ビットの値だけを読み出せます。"
110
100
111
- #: ../../c-api/marshal.rst:70
101
+ #: ../../c-api/marshal.rst:66
112
102
msgid ""
113
103
"Return a Python object from the data stream in a :c:type:`FILE\\ *` opened "
114
104
"for reading."
115
105
msgstr "読み出し用に開かれた :c:type:`FILE\\ *` 内のデータストリームから Python オブジェクトを返します。"
116
106
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
119
109
msgid ""
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 ""
123
113
124
- #: ../../c-api/marshal.rst:79
114
+ #: ../../c-api/marshal.rst:75
125
115
msgid ""
126
116
"Return a Python object from the data stream in a :c:type:`FILE\\ *` opened "
127
117
"for reading. Unlike :c:func:`PyMarshal_ReadObjectFromFile`, this function "
@@ -135,7 +125,7 @@ msgstr ""
135
125
":c:func:`PyMarshal_ReadObjectFromFile` "
136
126
"と違い、この関数はファイル中に後続のオブジェクトが存在しないと仮定し、ファイルからメモリ上にファイルデータを一気にメモリにロードして、逆整列化機構がファイルから一バイトづつ読み出す代わりにメモリ上のデータを操作できるようにします。対象のファイルから他に何も読み出さないと分かっている場合にのみ、この関数を使ってください。"
137
127
138
- #: ../../c-api/marshal.rst:93
128
+ #: ../../c-api/marshal.rst:89
139
129
msgid ""
140
130
"Return a Python object from the data stream in a byte buffer containing "
141
131
"*len* bytes pointed to by *data*."
0 commit comments