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