|
8 | 8 | msgstr ""
|
9 | 9 | "Project-Id-Version:Python 2.7\n"
|
10 | 10 | "Report-Msgid-Bugs-To:\n"
|
11 |
| -"POT-Creation-Date:2018-01-21 01:52+0900\n" |
12 |
| -"PO-Revision-Date:2018-05-28 06:47+0000\n" |
| 11 | +"POT-Creation-Date:2018-10-20 14:38+0900\n" |
| 12 | +"PO-Revision-Date:2018-10-20 05:46+0000\n" |
13 | 13 | "Last-Translator:tomo🐧\n"
|
14 | 14 | "Language-Team:Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n"
|
15 | 15 | "MIME-Version:1.0\n"
|
@@ -105,8 +105,9 @@ msgstr "*tagname* は、 ``None`` 以外で指定された場合、マップの
|
105 | 105 | msgid""
|
106 | 106 | "*offset* may be specified as a non-negative integer offset. mmap references "
|
107 | 107 | "will be relative to the offset from the beginning of the file. *offset* "
|
108 |
| -"defaults to 0. *offset* must be a multiple of the ALLOCATIONGRANULARITY." |
109 |
| -msgstr"*offset* は非負整数のオフセットとして指定できます。 mmap の参照はファイルの先頭からのオフセットに相対的になります。 *offset* のデフォルトは 0 です。 *offset* は ALLOCATIONGRANULARITY の倍数でなければなりません。" |
| 108 | +"defaults to 0. *offset* must be a multiple of the " |
| 109 | +":const:`ALLOCATIONGRANULARITY`." |
| 110 | +msgstr"" |
110 | 111 |
|
111 | 112 | #:../../library/mmap.rst:77
|
112 | 113 | msgid""
|
@@ -145,9 +146,9 @@ msgstr "*access* はオプションのキーワード・パラメータとして
|
145 | 146 | msgid""
|
146 | 147 | "*offset* may be specified as a non-negative integer offset. mmap references "
|
147 | 148 | "will be relative to the offset from the beginning of the file. *offset* "
|
148 |
| -"defaults to 0.*offset* must be a multiple ofthe PAGESIZE or" |
149 |
| -"ALLOCATIONGRANULARITY." |
150 |
| -msgstr"*offset* は非負整数のオフセットとして指定できます。 mmap の参照はファイルの先頭からのオフセットに相対的になります。 *offset* のデフォルトは 0 です。 *offset* は PAGESIZE または ALLOCATIONGRANULARITY の倍数でなければなりません。" |
| 149 | +"defaults to 0. *offset* must be a multiple of:const:`ALLOCATIONGRANULARITY`" |
| 150 | +" which is equal to :const:`PAGESIZE` on Unix systems." |
| 151 | +msgstr"" |
151 | 152 |
|
152 | 153 | #:../../library/mmap.rst:103
|
153 | 154 | msgid""
|
@@ -190,89 +191,90 @@ msgid ""
|
190 | 191 | "use of this call there is no guarantee that changes are written back before "
|
191 | 192 | "the object is destroyed. If *offset* and *size* are specified, only changes"
|
192 | 193 | " to the given range of bytes will be flushed to disk; otherwise, the whole "
|
193 |
| -"extent of the mapping is flushed." |
194 |
| -msgstr"ファイルのメモリコピー内での変更をディスクへフラッシュします。この呼出しを使わなかった場合、オブジェクトが破壊される前に変更が書き込まれる保証はありません。もし *offset* と *size* が指定された場合、与えられたバイトの範囲の変更だけがディスクにフラッシュされます。指定されない場合、マップ全体がフラッシュされます。" |
| 194 | +"extent of the mapping is flushed. *offset* must be a multiple of the " |
| 195 | +":const:`PAGESIZE` or :const:`ALLOCATIONGRANULARITY`." |
| 196 | +msgstr"" |
195 | 197 |
|
196 |
| -#:../../library/mmap.rst:176 |
| 198 | +#:../../library/mmap.rst:177 |
197 | 199 | msgid""
|
198 | 200 | "**(Windows version)** A nonzero value returned indicates success; zero "
|
199 | 201 | "indicates failure."
|
200 | 202 | msgstr"**(Windows バージョン)** ゼロ以外の値が返されたら成功を、ゼロは失敗を意味します。"
|
201 | 203 |
|
202 |
| -#:../../library/mmap.rst:179 |
| 204 | +#:../../library/mmap.rst:180 |
203 | 205 | msgid""
|
204 | 206 | "**(Unix version)** A zero value is returned to indicate success. An "
|
205 | 207 | "exception is raised when the call failed."
|
206 | 208 | msgstr"**(Unix バージョン)** ゼロの値が返されたら成功を意味します。呼び出しが失敗すると例外が送出されます。"
|
207 | 209 |
|
208 |
| -#:../../library/mmap.rst:185 |
| 210 | +#:../../library/mmap.rst:186 |
209 | 211 | msgid""
|
210 | 212 | "Copy the *count* bytes starting at offset *src* to the destination index "
|
211 | 213 | "*dest*. If the mmap was created with :const:`ACCESS_READ`, then calls to "
|
212 | 214 | "move will raise a :exc:`TypeError` exception."
|
213 | 215 | msgstr"オフセット *src* から始まる *count* バイトをインデックス *dest* の位置へコピーします。もし mmap が :const:`ACCESS_READ` で作成されていた場合、 :exc:`TypeError` 例外を発生させます。"
|
214 | 216 |
|
215 |
| -#:../../library/mmap.rst:192 |
| 217 | +#:../../library/mmap.rst:193 |
216 | 218 | msgid""
|
217 | 219 | "Return a string containing up to *num* bytes starting from the current file "
|
218 | 220 | "position; the file position is updated to point after the bytes that were "
|
219 | 221 | "returned."
|
220 | 222 | msgstr"現在のファイル位置から最大で *num* バイト分の文字列を返します。ファイル位置は返したバイトの分だけ後ろの位置へ更新されます。"
|
221 | 223 |
|
222 |
| -#:../../library/mmap.rst:199 |
| 224 | +#:../../library/mmap.rst:200 |
223 | 225 | msgid""
|
224 | 226 | "Returns a string of length 1 containing the character at the current file "
|
225 | 227 | "position, and advances the file position by 1."
|
226 | 228 | msgstr"現在のファイル位置から長さ1の文字列を返します。ファイル位置は1だけ進みます。"
|
227 | 229 |
|
228 |
| -#:../../library/mmap.rst:205 |
| 230 | +#:../../library/mmap.rst:206 |
229 | 231 | msgid""
|
230 | 232 | "Returns a single line, starting at the current file position and up to the "
|
231 | 233 | "next newline."
|
232 | 234 | msgstr"現在のファイル位置から次の改行までの、1行を返します。"
|
233 | 235 |
|
234 |
| -#:../../library/mmap.rst:211 |
| 236 | +#:../../library/mmap.rst:212 |
235 | 237 | msgid""
|
236 | 238 | "Resizes the map and the underlying file, if any. If the mmap was created "
|
237 | 239 | "with :const:`ACCESS_READ` or :const:`ACCESS_COPY`, resizing the map will "
|
238 | 240 | "raise a :exc:`TypeError` exception."
|
239 | 241 | msgstr"マップと元ファイル(がもしあれば)のサイズを変更します。もし mmap が :const:`ACCESS_READ` または :const:`ACCESS_COPY` で作成されたならば、マップサイズの変更は :exc:`TypeError` 例外を発生させます。"
|
240 | 242 |
|
241 |
| -#:../../library/mmap.rst:218 |
| 243 | +#:../../library/mmap.rst:219 |
242 | 244 | msgid""
|
243 | 245 | "Returns the highest index in the object where the substring *string* is "
|
244 | 246 | "found, such that *string* is contained in the range [*start*, *end*]. "
|
245 | 247 | "Optional arguments *start* and *end* are interpreted as in slice notation. "
|
246 | 248 | "Returns ``-1`` on failure."
|
247 | 249 | msgstr"オブジェクト内の [*start*, *end*] の範囲に含まれている部分文字列 *string* が見つかった場所の最も大きいインデックスを返します。オプションの引数 *start* と *end* はスライスに使われるときのように解釈されます。失敗したときには ``-1`` を返します。"
|
248 | 250 |
|
249 |
| -#:../../library/mmap.rst:226 |
| 251 | +#:../../library/mmap.rst:227 |
250 | 252 | msgid""
|
251 | 253 | "Set the file's current position. *whence* argument is optional and defaults"
|
252 | 254 | " to ``os.SEEK_SET`` or ``0`` (absolute file positioning); other values are "
|
253 | 255 | "``os.SEEK_CUR`` or ``1`` (seek relative to the current position) and "
|
254 | 256 | "``os.SEEK_END`` or ``2`` (seek relative to the file's end)."
|
255 | 257 | msgstr"ファイルの現在位置をセットします。 *whence* 引数はオプションであり、デフォルトは ``os.SEEK_SET`` つまり ``0`` (絶対位置)です。その他の値として、 ``os.SEEK_CUR`` つまり ``1`` (現在位置からの相対位置)と ``os.SEEK_END`` つまり ``2`` (ファイルの終わりからの相対位置)があります。"
|
256 | 258 |
|
257 |
| -#:../../library/mmap.rst:234 |
| 259 | +#:../../library/mmap.rst:235 |
258 | 260 | msgid""
|
259 | 261 | "Return the length of the file, which can be larger than the size of the "
|
260 | 262 | "memory-mapped area."
|
261 | 263 | msgstr"ファイルの長さを返します。メモリマップ領域のサイズより大きいかもしれません。"
|
262 | 264 |
|
263 |
| -#:../../library/mmap.rst:240 |
| 265 | +#:../../library/mmap.rst:241 |
264 | 266 | msgid"Returns the current position of the file pointer."
|
265 | 267 | msgstr"ファイルポインタの現在位置を返します。"
|
266 | 268 |
|
267 |
| -#:../../library/mmap.rst:245 |
| 269 | +#:../../library/mmap.rst:246 |
268 | 270 | msgid""
|
269 | 271 | "Write the bytes in *string* into memory at the current position of the file "
|
270 | 272 | "pointer; the file position is updated to point after the bytes that were "
|
271 | 273 | "written. If the mmap was created with :const:`ACCESS_READ`, then writing to "
|
272 | 274 | "it will raise a :exc:`TypeError` exception."
|
273 | 275 | msgstr"メモリ内のファイルポインタの現在位置に *string* のバイト列を書き込みます。ファイル位置はバイト列が書き込まれた後の位置へ更新されます。もし mmap が :const:`ACCESS_READ` で作成されていた場合、書き込み時に :exc:`TypeError` 例外を発生させるでしょう。"
|
274 | 276 |
|
275 |
| -#:../../library/mmap.rst:253 |
| 277 | +#:../../library/mmap.rst:254 |
276 | 278 | msgid""
|
277 | 279 | "Write the single-character string *byte* into memory at the current position"
|
278 | 280 | " of the file pointer; the file position is advanced by ``1``. If the mmap "
|
|