@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version :Python 3.8\n "
13
13
"Report-Msgid-Bugs-To :\n "
14
- "POT-Creation-Date :2020-02-09 12:40 +0000\n "
14
+ "POT-Creation-Date :2020-08-14 14:53 +0000\n "
15
15
"PO-Revision-Date :2020-05-30 12:11+0000\n "
16
16
"Last-Translator :tomo, 2020\n "
17
17
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -123,7 +123,7 @@ msgstr ""
123
123
" 以降)。"
124
124
125
125
#: ../../library/tempfile.rst:66 ../../library/tempfile.rst:91
126
- #: ../../library/tempfile.rst:187
126
+ #: ../../library/tempfile.rst:186
127
127
msgid ""
128
128
"Raises an :ref:`auditing event <auditing>` ``tempfile.mkstemp`` with "
129
129
"argument ``fullpath``."
@@ -221,7 +221,7 @@ msgid ""
221
221
"method."
222
222
msgstr ":func:`cleanup` メソッドを呼んでディレクトリを明示的に片付けることができます。"
223
223
224
- #: ../../library/tempfile.rst:138 ../../library/tempfile.rst:213
224
+ #: ../../library/tempfile.rst:138 ../../library/tempfile.rst:212
225
225
msgid ""
226
226
"Raises an :ref:`auditing event <auditing>` ``tempfile.mkdtemp`` with "
227
227
"argument ``fullpath``."
@@ -302,13 +302,11 @@ msgstr ""
302
302
303
303
#: ../../library/tempfile.rst:178
304
304
msgid ""
305
- "If *text* is specified, it indicates whether to open the file inbinary mode"
306
- " (the default)or text mode. On some platforms, this makes no difference ."
305
+ "If *text* is specified and true, the fileis opened intext mode. Otherwise, "
306
+ " (the default)the file is opened in binary mode ."
307
307
msgstr ""
308
- "*text* が指定された場合、ファイルをバイナリモード (デフォルト) かテキストモードで開くかを示します。\n"
309
- "プラットフォームによってはこの値を設定しても変化はありません。"
310
308
311
- #: ../../library/tempfile.rst:182
309
+ #: ../../library/tempfile.rst:181
312
310
msgid ""
313
311
":func:`mkstemp` returns a tuple containing an OS-level handle to an open "
314
312
"file (as would be returned by :func:`os.open`) and the absolute pathname of "
@@ -317,7 +315,7 @@ msgstr ""
317
315
":func:`mkstemp` は開かれたファイルを扱うための OS レベルのハンドル (:func:`os.open` が返すものと同じ) "
318
316
"とファイルの絶対パス名が順番に並んだタプルを返します。"
319
317
320
- #: ../../library/tempfile.rst:188 ../../library/tempfile.rst:214
318
+ #: ../../library/tempfile.rst:187 ../../library/tempfile.rst:213
321
319
msgid ""
322
320
"*suffix*, *prefix*, and *dir* may now be supplied in bytes in order to "
323
321
"obtain a bytes return value. Prior to this, only str was allowed. *suffix* "
@@ -328,11 +326,11 @@ msgstr ""
328
326
"それ以前は str のみ許されていました。\n"
329
327
"適切なデフォルト値を使用するよう、*suffix* と *prefix* は ``None`` を受け入れ、デフォルトにするようになりました。"
330
328
331
- #: ../../library/tempfile.rst:194 ../../library/tempfile.rst:220
329
+ #: ../../library/tempfile.rst:193 ../../library/tempfile.rst:219
332
330
msgid "The *dir* parameter now accepts a :term:`path-like object`."
333
331
msgstr "*dir* パラメタが :term:`path-like object` を受け付けるようになりました。"
334
332
335
- #: ../../library/tempfile.rst:200
333
+ #: ../../library/tempfile.rst:199
336
334
msgid ""
337
335
"Creates a temporary directory in the most secure manner possible. There are "
338
336
"no race conditions in the directory's creation. The directory is readable, "
@@ -342,96 +340,96 @@ msgstr ""
342
340
"ディレクトリの生成で競合は発生しません。\n"
343
341
"ディレクトリを作成したユーザ ID だけが、このディレクトリに対して内容を読み出したり、書き込んだり、検索したりすることができます。"
344
342
345
- #: ../../library/tempfile.rst:204
343
+ #: ../../library/tempfile.rst:203
346
344
msgid ""
347
345
"The user of :func:`mkdtemp` is responsible for deleting the temporary "
348
346
"directory and its contents when done with it."
349
347
msgstr ":func:`mkdtemp` のユーザは用済みになった時に一時ディレクトリとその中身を削除しなければなりません。"
350
348
351
- #: ../../library/tempfile.rst:207
349
+ #: ../../library/tempfile.rst:206
352
350
msgid ""
353
351
"The *prefix*, *suffix*, and *dir* arguments are the same as for "
354
352
":func:`mkstemp`."
355
353
msgstr "*prefix*, *suffix*, *dir* 引数は :func:`mkstemp` 関数のものと同じです。"
356
354
357
- #: ../../library/tempfile.rst:210
355
+ #: ../../library/tempfile.rst:209
358
356
msgid ":func:`mkdtemp` returns the absolute pathname of the new directory."
359
357
msgstr ":func:`mkdtemp` は新たに生成されたディレクトリの絶対パス名を返します。"
360
358
361
- #: ../../library/tempfile.rst:226
359
+ #: ../../library/tempfile.rst:225
362
360
msgid ""
363
361
"Return the name of the directory used for temporary files. This defines the "
364
362
"default value for the *dir* argument to all functions in this module."
365
363
msgstr ""
366
364
"一時ファイルに用いられるディレクトリの名前を返します。\n"
367
365
"これはモジュール内の全ての関数の *dir* 引数のデフォルト値を定義します。"
368
366
369
- #: ../../library/tempfile.rst:230
367
+ #: ../../library/tempfile.rst:229
370
368
msgid ""
371
369
"Python searches a standard list of directories to find one which the calling"
372
370
" user can create files in. The list is:"
373
371
msgstr ""
374
372
"Python は呼び出したユーザがファイルを作ることの出来るディレクトリを検索するのに標準的なリストを使用します。\n"
375
373
"そのリストは:"
376
374
377
- #: ../../library/tempfile.rst:233
375
+ #: ../../library/tempfile.rst:232
378
376
msgid "The directory named by the :envvar:`TMPDIR` environment variable."
379
377
msgstr "環境変数 :envvar:`TMPDIR` で与えられているディレクトリ名。"
380
378
381
- #: ../../library/tempfile.rst:235
379
+ #: ../../library/tempfile.rst:234
382
380
msgid "The directory named by the :envvar:`TEMP` environment variable."
383
381
msgstr "環境変数 :envvar:`TEMP` で与えられているディレクトリ名。"
384
382
385
- #: ../../library/tempfile.rst:237
383
+ #: ../../library/tempfile.rst:236
386
384
msgid "The directory named by the :envvar:`TMP` environment variable."
387
385
msgstr "環境変数 :envvar:`TMP` で与えられているディレクトリ名。"
388
386
389
- #: ../../library/tempfile.rst:239
387
+ #: ../../library/tempfile.rst:238
390
388
msgid "A platform-specific location:"
391
389
msgstr "プラットフォーム依存の場所:"
392
390
393
- #: ../../library/tempfile.rst:241
391
+ #: ../../library/tempfile.rst:240
394
392
msgid ""
395
393
"On Windows, the directories :file:`C:\\\\ TEMP`, :file:`C:\\\\ TMP`, "
396
394
":file:`\\\\ TEMP`, and :file:`\\\\ TMP`, in that order."
397
395
msgstr ""
398
396
"Windows ではディレクトリ :file:`C:\\\\ TEMP` 、 :file:`C:\\\\ TMP` 、 :file:`\\\\ TEMP` "
399
397
"、および :file:`\\\\ TMP` の順。"
400
398
401
- #: ../../library/tempfile.rst:244
399
+ #: ../../library/tempfile.rst:243
402
400
msgid ""
403
401
"On all other platforms, the directories :file:`/tmp`, :file:`/var/tmp`, and "
404
402
":file:`/usr/tmp`, in that order."
405
403
msgstr ""
406
404
"その他の全てのプラットフォームでは、 :file:`/tmp` 、 :file:`/var/tmp` 、および :file:`/usr/tmp` の順。"
407
405
408
- #: ../../library/tempfile.rst:247
406
+ #: ../../library/tempfile.rst:246
409
407
msgid "As a last resort, the current working directory."
410
408
msgstr "最後の手段として、現在の作業ディレクトリ。"
411
409
412
- #: ../../library/tempfile.rst:249
410
+ #: ../../library/tempfile.rst:248
413
411
msgid ""
414
412
"The result of this search is cached, see the description of :data:`tempdir` "
415
413
"below."
416
414
msgstr "この検索の結果はキャッシュされます。以下の :data:`tempdir` の記述を参照してください。"
417
415
418
- #: ../../library/tempfile.rst:254
416
+ #: ../../library/tempfile.rst:253
419
417
msgid "Same as :func:`gettempdir` but the return value is in bytes."
420
418
msgstr ":func:`gettempdir` と同じですが返り値は bytesです。"
421
419
422
- #: ../../library/tempfile.rst:260
420
+ #: ../../library/tempfile.rst:259
423
421
msgid ""
424
422
"Return the filename prefix used to create temporary files. This does not "
425
423
"contain the directory component."
426
424
msgstr ""
427
425
"一時ファイルを生成する際に使われるファイル名の接頭辞を返します。\n"
428
426
"これにはディレクトリ部は含まれません。"
429
427
430
- #: ../../library/tempfile.rst:265
428
+ #: ../../library/tempfile.rst:264
431
429
msgid "Same as :func:`gettempprefix` but the return value is in bytes."
432
430
msgstr ":func:`gettempprefix` と同じですが返り値は bytes です。"
433
431
434
- #: ../../library/tempfile.rst:269
432
+ #: ../../library/tempfile.rst:268
435
433
msgid ""
436
434
"The module uses a global variable to store the name of the directory used "
437
435
"for temporary files returned by :func:`gettempdir`. It can be set directly "
@@ -444,13 +442,13 @@ msgstr ""
444
442
"このモジュールの全ての関数はディレクトリを指定する *dir* 引数を受け取ります。\n"
445
443
"この方法が推奨されます。"
446
444
447
- #: ../../library/tempfile.rst:277
445
+ #: ../../library/tempfile.rst:276
448
446
msgid ""
449
447
"When set to a value other than ``None``, this variable defines the default "
450
448
"value for the *dir* argument to the functions defined in this module."
451
449
msgstr "``None`` 以外の値に設定された場合、このモジュールで定義されている全ての関数の *dir* 引数のデフォルト値として定義されます。"
452
450
453
- #: ../../library/tempfile.rst:281
451
+ #: ../../library/tempfile.rst:280
454
452
msgid ""
455
453
"If ``tempdir`` is ``None`` (the default) at any call to any of the above "
456
454
"functions except :func:`gettempprefix` it is initialized following the "
@@ -459,20 +457,20 @@ msgstr ""
459
457
"``tempdir`` が (デフォルトの) ``None`` の場合、 :func:`gettempprefix` "
460
458
"を除く上記のいずれかの関数を呼び出す際は常に :func:`gettempdir` で述べられているアルゴリズムによって初期化されます。"
461
459
462
- #: ../../library/tempfile.rst:288
460
+ #: ../../library/tempfile.rst:287
463
461
msgid "Examples"
464
462
msgstr "使用例"
465
463
466
- #: ../../library/tempfile.rst:290
464
+ #: ../../library/tempfile.rst:289
467
465
msgid ""
468
466
"Here are some examples of typical usage of the :mod:`tempfile` module::"
469
467
msgstr ":mod:`tempfile` モジュールの典型的な使用法のいくつかの例を挙げます::"
470
468
471
- #: ../../library/tempfile.rst:321
469
+ #: ../../library/tempfile.rst:320
472
470
msgid "Deprecated functions and variables"
473
471
msgstr "非推奨の関数と変数"
474
472
475
- #: ../../library/tempfile.rst:323
473
+ #: ../../library/tempfile.rst:322
476
474
msgid ""
477
475
"A historical way to create temporary files was to first generate a file name"
478
476
" with the :func:`mktemp` function and then create a file using this name. "
@@ -488,11 +486,11 @@ msgstr ""
488
486
"解決策は二つのステップを同時に行い、ファイルをすぐに作成するというものです。\n"
489
487
"この方法は :func:`mkstemp` や上述している他の関数で使用されています。"
490
488
491
- #: ../../library/tempfile.rst:334
489
+ #: ../../library/tempfile.rst:333
492
490
msgid "Use :func:`mkstemp` instead."
493
491
msgstr "代わりに :func:`mkstemp` を使って下さい。"
494
492
495
- #: ../../library/tempfile.rst:337
493
+ #: ../../library/tempfile.rst:336
496
494
msgid ""
497
495
"Return an absolute pathname of a file that did not exist at the time the "
498
496
"call is made. The *prefix*, *suffix*, and *dir* arguments are similar to "
@@ -502,7 +500,7 @@ msgstr ""
502
500
"呼び出し時には存在しなかった、ファイルの絶対パス名を返します。\n"
503
501
"*prefix*、*suffix*、*dir* 引数は :func:`mkstemp` のものと似ていますが、bytes のファイル名、``suffix=None``、そして ``prefix=None`` がサポートされていない点で異なります。"
504
502
505
- #: ../../library/tempfile.rst:344
503
+ #: ../../library/tempfile.rst:343
506
504
msgid ""
507
505
"Use of this function may introduce a security hole in your program. By the "
508
506
"time you get around to doing anything with the file name it returns, someone"