@@ -12,7 +12,7 @@ msgid ""
12
12
msgstr ""
13
13
"Project-Id-Version :Python 3.8\n "
14
14
"Report-Msgid-Bugs-To :\n "
15
- "POT-Creation-Date :2020-02-09 12:40 +0000\n "
15
+ "POT-Creation-Date :2020-07-29 14:42 +0000\n "
16
16
"PO-Revision-Date :2020-05-30 11:54+0000\n "
17
17
"Last-Translator :Tetsuo Koyama <tkoyama010@gmail.com>, 2020\n "
18
18
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -394,17 +394,17 @@ msgid ""
394
394
"practice::"
395
395
msgstr "インタプリタを起動すると、この関数デスクリプタが実際にどうはたらくかを見られます::"
396
396
397
- #: ../../howto/descriptor.rst:326
397
+ #: ../../howto/descriptor.rst:324
398
398
msgid "Static Methods and Class Methods"
399
399
msgstr "静的メソッドとクラスメソッド"
400
400
401
- #: ../../howto/descriptor.rst:328
401
+ #: ../../howto/descriptor.rst:326
402
402
msgid ""
403
403
"Non-data descriptors provide a simple mechanism for variations on the usual "
404
404
"patterns of binding functions into methods."
405
405
msgstr "非データデスクリプタは、関数をメソッドに束縛する、各種の一般的なパターンに、単純な機構を提供します。"
406
406
407
- #: ../../howto/descriptor.rst:331
407
+ #: ../../howto/descriptor.rst:329
408
408
msgid ""
409
409
"To recap, functions have a :meth:`__get__` method so that they can be "
410
410
"converted to a method when accessed as attributes. The non-data descriptor "
@@ -415,52 +415,52 @@ msgstr ""
415
415
" ``obj.f(*args)`` の呼び出しを ``f(obj, *args)`` に変換します。 ``klass.f(*args)`` を呼び出すと"
416
416
" ``f(*args)`` になります。"
417
417
418
- #: ../../howto/descriptor.rst:336
418
+ #: ../../howto/descriptor.rst:334
419
419
msgid "This chart summarizes the binding and its two most useful variants:"
420
420
msgstr "このチャートは、束縛と、その 2 つの異なる便利な形をまとめています:"
421
421
422
- #: ../../howto/descriptor.rst:339
422
+ #: ../../howto/descriptor.rst:337
423
423
msgid "Transformation"
424
424
msgstr "変換"
425
425
426
- #: ../../howto/descriptor.rst:339
426
+ #: ../../howto/descriptor.rst:337
427
427
msgid "Called from an Object"
428
428
msgstr "オブジェクトから呼び出される"
429
429
430
- #: ../../howto/descriptor.rst:339
430
+ #: ../../howto/descriptor.rst:337
431
431
msgid "Called from a Class"
432
432
msgstr "クラスから呼び出される"
433
433
434
- #: ../../howto/descriptor.rst:342
434
+ #: ../../howto/descriptor.rst:340
435
435
msgid "function"
436
436
msgstr "function"
437
437
438
- #: ../../howto/descriptor.rst:342
438
+ #: ../../howto/descriptor.rst:340
439
439
msgid "f(obj,\\ *args)"
440
440
msgstr "f(obj,\\ *args)"
441
441
442
- #: ../../howto/descriptor.rst:342 ../../howto/descriptor.rst:344
443
- #: ../../howto/descriptor.rst:344
442
+ #: ../../howto/descriptor.rst:340 ../../howto/descriptor.rst:342
443
+ #: ../../howto/descriptor.rst:342
444
444
msgid "f(\\ *args)"
445
445
msgstr "f(\\ *args)"
446
446
447
- #: ../../howto/descriptor.rst:344
447
+ #: ../../howto/descriptor.rst:342
448
448
msgid "staticmethod"
449
449
msgstr "静的メソッド"
450
450
451
- #: ../../howto/descriptor.rst:346
451
+ #: ../../howto/descriptor.rst:344
452
452
msgid "classmethod"
453
453
msgstr "クラスメソッド"
454
454
455
- #: ../../howto/descriptor.rst:346
455
+ #: ../../howto/descriptor.rst:344
456
456
msgid "f(type(obj),\\ *args)"
457
457
msgstr "f(type(obj),\\ *args)"
458
458
459
- #: ../../howto/descriptor.rst:346
459
+ #: ../../howto/descriptor.rst:344
460
460
msgid "f(klass,\\ *args)"
461
461
msgstr "f(klass,\\ *args)"
462
462
463
- #: ../../howto/descriptor.rst:349
463
+ #: ../../howto/descriptor.rst:347
464
464
msgid ""
465
465
"Static methods return the underlying function without changes. Calling "
466
466
"either ``c.f`` or ``C.f`` is the equivalent of a direct lookup into "
@@ -472,13 +472,13 @@ msgstr ""
472
472
"\" f\" )`` や ``object.__getattribute__(C,\" f\" )`` "
473
473
"を直接探索するのと同じです。結果として、関数はオブジェクトとクラスから同じようにアクセスできます。"
474
474
475
- #: ../../howto/descriptor.rst:355
475
+ #: ../../howto/descriptor.rst:353
476
476
msgid ""
477
477
"Good candidates for static methods are methods that do not reference the "
478
478
"``self`` variable."
479
479
msgstr "静的メソッドにすると良いのは、 ``self`` 変数への参照を持たないメソッドです。"
480
480
481
- #: ../../howto/descriptor.rst:358
481
+ #: ../../howto/descriptor.rst:356
482
482
msgid ""
483
483
"For instance, a statistics package may include a container class for "
484
484
"experimental data. The class provides normal methods for computing the "
@@ -494,27 +494,27 @@ msgstr ""
494
494
"は統計上の便利な変換ルーチンですが、特定のデータセットに直接には依存しません。これは、オブジェクトからでもクラスからでも呼び出せます: "
495
495
"``s.erf(1.5) --> .9332`` または ``Sample.erf(1.5) --> .9332`` 。"
496
496
497
- #: ../../howto/descriptor.rst:367
497
+ #: ../../howto/descriptor.rst:365
498
498
msgid ""
499
499
"Since staticmethods return the underlying function with no changes, the "
500
500
"example calls are unexciting::"
501
501
msgstr "静的メソッドは下にある関数をそのまま返すので、呼び出しの例は面白くありません::"
502
502
503
- #: ../../howto/descriptor.rst:380
503
+ #: ../../howto/descriptor.rst:378
504
504
msgid ""
505
505
"Using the non-data descriptor protocol, a pure Python version of "
506
506
":func:`staticmethod` would look like this::"
507
507
msgstr "非データデスクリプタプロトコルを使うと、pure Python 版の :func:`staticmethod` は以下のようになります::"
508
508
509
- #: ../../howto/descriptor.rst:392
509
+ #: ../../howto/descriptor.rst:390
510
510
msgid ""
511
511
"Unlike static methods, class methods prepend the class reference to the "
512
512
"argument list before calling the function. This format is the same for "
513
513
"whether the caller is an object or a class::"
514
514
msgstr ""
515
515
"静的メソッドとは違って、クラスメソッドは関数を呼び出す前にクラス参照を引数リストの先頭に加えます。このフォーマットは、呼び出し元がオブジェクトでもクラスでも同じです::"
516
516
517
- #: ../../howto/descriptor.rst:407
517
+ #: ../../howto/descriptor.rst:405
518
518
msgid ""
519
519
"This behavior is useful whenever the function only needs to have a class "
520
520
"reference and does not care about any underlying data. One use for "
@@ -526,11 +526,11 @@ msgstr ""
526
526
" 2.3 では、クラスメソッド :func:`dict.fromkeys` は新しい辞書をキーのリストから生成します。等価な pure Python "
527
527
"版は::"
528
528
529
- #: ../../howto/descriptor.rst:423
529
+ #: ../../howto/descriptor.rst:421
530
530
msgid "Now a new dictionary of unique keys can be constructed like this::"
531
531
msgstr "これで一意なキーを持つ新しい辞書が以下のように構成できます::"
532
532
533
- #: ../../howto/descriptor.rst:428
533
+ #: ../../howto/descriptor.rst:426
534
534
msgid ""
535
535
"Using the non-data descriptor protocol, a pure Python version of "
536
536
":func:`classmethod` would look like this::"