8
8
msgstr ""
9
9
"Project-Id-Version :Python 3.6\n "
10
10
"Report-Msgid-Bugs-To :\n "
11
- "POT-Creation-Date :2018-05 -2013:20 +0900\n "
11
+ "POT-Creation-Date :2018-10 -2014:40 +0900\n "
12
12
"PO-Revision-Date :YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator :tomo🐧, 2018\n "
14
14
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -130,10 +130,9 @@ msgstr ""
130
130
msgid ""
131
131
"*offset* may be specified as a non-negative integer offset. mmap references "
132
132
"will be relative to the offset from the beginning of the file. *offset* "
133
- "defaults to 0. *offset* must be a multiple of the ALLOCATIONGRANULARITY."
133
+ "defaults to 0. *offset* must be a multiple of the "
134
+ ":const:`ALLOCATIONGRANULARITY`."
134
135
msgstr ""
135
- "*offset* は非負整数のオフセットとして指定できます。 mmap の参照はファイルの先頭からのオフセットに相対的になります。 *offset* "
136
- "のデフォルトは 0 です。 *offset* は ALLOCATIONGRANULARITY の倍数でなければなりません。"
137
136
138
137
#: ../../library/mmap.rst:70
139
138
msgid ""
@@ -185,11 +184,9 @@ msgstr ""
185
184
msgid ""
186
185
"*offset* may be specified as a non-negative integer offset. mmap references "
187
186
"will be relative to the offset from the beginning of the file. *offset* "
188
- "defaults to 0. *offset* must be a multiple ofthe PAGESIZE or "
189
- "ALLOCATIONGRANULARITY ."
187
+ "defaults to 0. *offset* must be a multiple of:const:`ALLOCATIONGRANULARITY` "
188
+ " which is equal to :const:`PAGESIZE` on Unix systems ."
190
189
msgstr ""
191
- "*offset* は非負整数のオフセットとして指定できます。 mmap の参照はファイルの先頭からのオフセットに相対的になります。 *offset* "
192
- "のデフォルトは 0 です。 *offset* は PAGESIZE または ALLOCATIONGRANULARITY の倍数でなければなりません。"
193
190
194
191
#: ../../library/mmap.rst:96
195
192
msgid ""
@@ -247,8 +244,8 @@ msgstr ""
247
244
"が見つかった場所の最も小さいインデックスを返します。オプションの引数 *start* と *end* "
248
245
"はスライスに使われるときのように解釈されます。失敗したときには ``-1`` を返します。"
249
246
250
- #: ../../library/mmap.rst:178 ../../library/mmap.rst:241
251
- #: ../../library/mmap.rst:273
247
+ #: ../../library/mmap.rst:178 ../../library/mmap.rst:242
248
+ #: ../../library/mmap.rst:274
252
249
msgid "Writable :term:`bytes-like object` is now accepted."
253
250
msgstr "書き込み可能な :term:`bytes-like object` を使用できるようになりました。"
254
251
@@ -258,25 +255,23 @@ msgid ""
258
255
"use of this call there is no guarantee that changes are written back before "
259
256
"the object is destroyed. If *offset* and *size* are specified, only changes"
260
257
" to the given range of bytes will be flushed to disk; otherwise, the whole "
261
- "extent of the mapping is flushed."
258
+ "extent of the mapping is flushed. *offset* must be a multiple of the "
259
+ ":const:`PAGESIZE` or :const:`ALLOCATIONGRANULARITY`."
262
260
msgstr ""
263
- "ファイルのメモリコピー内での変更をディスクへフラッシュします。この呼出しを使わなかった場合、オブジェクトが破壊される前に変更が書き込まれる保証はありません。もし"
264
- " *offset* と *size* "
265
- "が指定された場合、与えられたバイトの範囲の変更だけがディスクにフラッシュされます。指定されない場合、マップ全体がフラッシュされます。"
266
261
267
- #: ../../library/mmap.rst:190
262
+ #: ../../library/mmap.rst:191
268
263
msgid ""
269
264
"**(Windows version)** A nonzero value returned indicates success; zero "
270
265
"indicates failure."
271
266
msgstr "**(Windows バージョン)** ゼロ以外の値が返されたら成功を、ゼロは失敗を意味します。"
272
267
273
- #: ../../library/mmap.rst:193
268
+ #: ../../library/mmap.rst:194
274
269
msgid ""
275
270
"**(Unix version)** A zero value is returned to indicate success. An "
276
271
"exception is raised when the call failed."
277
272
msgstr "**(Unix バージョン)** ゼロの値が返されたら成功を意味します。呼び出しが失敗すると例外が送出されます。"
278
273
279
- #: ../../library/mmap.rst:199
274
+ #: ../../library/mmap.rst:200
280
275
msgid ""
281
276
"Copy the *count* bytes starting at offset *src* to the destination index "
282
277
"*dest*. If the mmap was created with :const:`ACCESS_READ`, then calls to "
@@ -285,7 +280,7 @@ msgstr ""
285
280
"オフセット *src* から始まる *count* バイトをインデックス *dest* の位置へコピーします。もし mmap が "
286
281
":const:`ACCESS_READ` で作成されていた場合、 :exc:`TypeError` 例外を発生させます。"
287
282
288
- #: ../../library/mmap.rst:206
283
+ #: ../../library/mmap.rst:207
289
284
msgid ""
290
285
"Return a :class:`bytes` containing up to *n* bytes starting from the current"
291
286
" file position. If the argument is omitted, ``None`` or negative, return all"
@@ -295,23 +290,23 @@ msgstr ""
295
290
"現在のファイル位置からの最大 *n* バイトを含む :class:`bytes` を返します。引数が省略されるか、 ``None`` "
296
291
"もしくは負の値が指定された場合、現在のファイル位置からマップ終端までの全てのバイト列を返します。ファイル位置は返されたバイト列の直後を指すように更新されます。"
297
292
298
- #: ../../library/mmap.rst:212
293
+ #: ../../library/mmap.rst:213
299
294
msgid "Argument can be omitted or ``None``."
300
295
msgstr "引数が省略可能になり、 ``None`` も受け付けるようになりました。"
301
296
302
- #: ../../library/mmap.rst:217
297
+ #: ../../library/mmap.rst:218
303
298
msgid ""
304
299
"Returns a byte at the current file position as an integer, and advances the "
305
300
"file position by 1."
306
301
msgstr "現在のファイル位置のバイトを整数値として返し、ファイル位置を 1 進めます。"
307
302
308
- #: ../../library/mmap.rst:223
303
+ #: ../../library/mmap.rst:224
309
304
msgid ""
310
305
"Returns a single line, starting at the current file position and up to the "
311
306
"next newline."
312
307
msgstr "現在のファイル位置から次の改行までの、1行を返します。"
313
308
314
- #: ../../library/mmap.rst:229
309
+ #: ../../library/mmap.rst:230
315
310
msgid ""
316
311
"Resizes the map and the underlying file, if any. If the mmap was created "
317
312
"with :const:`ACCESS_READ` or :const:`ACCESS_COPY`, resizing the map will "
@@ -320,7 +315,7 @@ msgstr ""
320
315
"マップと元ファイル(がもしあれば)のサイズを変更します。もし mmap が :const:`ACCESS_READ` または "
321
316
":const:`ACCESS_COPY` で作成されたならば、マップサイズの変更は :exc:`TypeError` 例外を発生させます。"
322
317
323
- #: ../../library/mmap.rst:236
318
+ #: ../../library/mmap.rst:237
324
319
msgid ""
325
320
"Returns the highest index in the object where the subsequence *sub* is "
326
321
"found, such that *sub* is contained in the range [*start*, *end*]. Optional "
@@ -331,7 +326,7 @@ msgstr ""
331
326
"が見つかった場所の最も大きいインデックスを返します。オプションの引数 *start* と *end* "
332
327
"はスライスに使われるときのように解釈されます。失敗したときには ``-1`` を返します。"
333
328
334
- #: ../../library/mmap.rst:247
329
+ #: ../../library/mmap.rst:248
335
330
msgid ""
336
331
"Set the file's current position. *whence* argument is optional and defaults"
337
332
" to ``os.SEEK_SET`` or ``0`` (absolute file positioning); other values are "
@@ -342,17 +337,17 @@ msgstr ""
342
337
"(絶対位置)です。その他の値として、 ``os.SEEK_CUR`` つまり ``1`` (現在位置からの相対位置)と ``os.SEEK_END`` "
343
338
"つまり ``2`` (ファイルの終わりからの相対位置)があります。"
344
339
345
- #: ../../library/mmap.rst:255
340
+ #: ../../library/mmap.rst:256
346
341
msgid ""
347
342
"Return the length of the file, which can be larger than the size of the "
348
343
"memory-mapped area."
349
344
msgstr "ファイルの長さを返します。メモリマップ領域のサイズより大きいかもしれません。"
350
345
351
- #: ../../library/mmap.rst:261
346
+ #: ../../library/mmap.rst:262
352
347
msgid "Returns the current position of the file pointer."
353
348
msgstr "ファイルポインタの現在位置を返します。"
354
349
355
- #: ../../library/mmap.rst:266
350
+ #: ../../library/mmap.rst:267
356
351
msgid ""
357
352
"Write the bytes in *bytes* into memory at the current position of the file "
358
353
"pointer and return the number of bytes written (never less than "
@@ -366,11 +361,11 @@ msgstr ""
366
361
"より少なくなりません)。ファイル位置はバイト列が書き込まれた位置に更新されます。もしmmapが:const:`ACCESS_READ` "
367
362
"とともに作成されていた場合は、書き込みは :exc:`TypeError` 例外を送出するでしょう。"
368
363
369
- #: ../../library/mmap.rst:276
364
+ #: ../../library/mmap.rst:277
370
365
msgid "The number of bytes written is now returned."
371
366
msgstr "書きこまれたバイト数を返すようになりました。"
372
367
373
- #: ../../library/mmap.rst:282
368
+ #: ../../library/mmap.rst:283
374
369
msgid ""
375
370
"Write the integer *byte* into memory at the current position of the file "
376
371
"pointer; the file position is advanced by ``1``. If the mmap was created "