@@ -12,7 +12,7 @@ msgid ""
12
12
msgstr ""
13
13
"Project-Id-Version :Python 3.7\n "
14
14
"Report-Msgid-Bugs-To :\n "
15
- "POT-Creation-Date :2020-04-10 22:51 +0000\n "
15
+ "POT-Creation-Date :2020-05-03 13:46 +0000\n "
16
16
"PO-Revision-Date :2019-09-01 03:22+0000\n "
17
17
"Last-Translator :yuji takesue <taketakeyyy@gmail.com>, 2019\n "
18
18
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -321,12 +321,11 @@ msgstr ""
321
321
#: ../../library/timeit.rst:253
322
322
msgid ""
323
323
"If :option:`-n` is not given, a suitable number of loops is calculated by "
324
- "trying successive powers of 10 until the total time is at least 0.2 seconds."
324
+ "trying increasing numbers from the sequence 1, 2, 5, 10, 20, 50, ... until "
325
+ "the total time is at least 0.2 seconds."
325
326
msgstr ""
326
- "オプション :option:`-n` でループの回数が指定されていない場合、10 回から始めて、所要時間が 0.2 "
327
- "秒になるまで回数を増やすことで適切なループ回数が自動計算されるようになっています。"
328
327
329
- #: ../../library/timeit.rst:256
328
+ #: ../../library/timeit.rst:257
330
329
msgid ""
331
330
":func:`default_timer` measurements can be affected by other programs running"
332
331
" on the same machine, so the best thing to do when accurate timing is "
@@ -340,7 +339,7 @@ msgstr ""
340
339
" :option:`-r` オプションはこれに適しています。ほとんどの場合、デフォルトの5回の繰り返しで十分でしょう。 "
341
340
":func:`time.process_time` を使用すればCPU時間を測定できます。"
342
341
343
- #: ../../library/timeit.rst:264
342
+ #: ../../library/timeit.rst:265
344
343
msgid ""
345
344
"There is a certain baseline overhead associated with executing a pass "
346
345
"statement. The code here doesn't try to hide it, but you should be aware of "
@@ -351,21 +350,21 @@ msgstr ""
351
350
"文の実行には基本的なオーバーヘッドが存在します。ここにあるコードはこの事実を隠そうとはしていませんが、注意する必要があります。基本的なオーバーヘッドは引数なしでプログラムを起動することにより計測でき、それは"
352
351
" Python のバージョンによって異なるでしょう。"
353
352
354
- #: ../../library/timeit.rst:273
353
+ #: ../../library/timeit.rst:274
355
354
msgid "Examples"
356
355
msgstr "使用例"
357
356
358
- #: ../../library/timeit.rst:275
357
+ #: ../../library/timeit.rst:276
359
358
msgid ""
360
359
"It is possible to provide a setup statement that is executed only once at "
361
360
"the beginning:"
362
361
msgstr "最初に 1 回だけ実行されるセットアップ文を指定することが可能です:"
363
362
364
- #: ../../library/timeit.rst:292
363
+ #: ../../library/timeit.rst:293
365
364
msgid "The same can be done using the :class:`Timer` class and its methods::"
366
365
msgstr "同じことは :class:`Timer` クラスとそのメソッドを使用して行うこともできます::"
367
366
368
- #: ../../library/timeit.rst:302
367
+ #: ../../library/timeit.rst:303
369
368
msgid ""
370
369
"The following examples show how to time expressions that contain multiple "
371
370
"lines. Here we compare the cost of using :func:`hasattr` vs. "
@@ -375,15 +374,15 @@ msgstr ""
375
374
"以下の例は、複数行を含んだ式を計測する方法を示しています。ここでは、オブジェクトの存在する属性と存在しない属性に対してテストするために "
376
375
":func:`hasattr` と :keyword:`try`/:keyword:`except` を使用した場合のコストを比較しています:"
377
376
378
- #: ../../library/timeit.rst:348
377
+ #: ../../library/timeit.rst:349
379
378
msgid ""
380
379
"To give the :mod:`timeit` module access to functions you define, you can "
381
380
"pass a *setup* parameter which contains an import statement::"
382
381
msgstr ""
383
382
"定義した関数に :mod:`timeit` モジュールがアクセスできるようにするために、 import 文の入った *setup* "
384
383
"パラメータを渡すことができます::"
385
384
386
- #: ../../library/timeit.rst:359
385
+ #: ../../library/timeit.rst:360
387
386
msgid ""
388
387
"Another option is to pass :func:`globals` to the *globals* parameter, which"
389
388
" will cause the code to be executed within your current global namespace. "