@@ -581,6 +581,10 @@ msgid ""
581
581
"with the ``value`` object of each member—is supplied, only members for which "
582
582
"the predicate returns a true value are included."
583
583
msgstr ""
584
+ "オブジェクトの全てのメンバーを ``(name, value)`` ペアのリストで返します。リス"
585
+ "トは名前 (name) でソートされます。オプション引数 *predicate* が指定された場"
586
+ "合、各メンバーの ``value`` オブジェクトを引数として *predicate* が呼ばれ、そ"
587
+ "の戻り値が真となるとなるメンバーだけがリストに含まれます。"
584
588
585
589
#: ../../library/inspect.rst:263
586
590
msgid ""
@@ -599,17 +603,25 @@ msgid ""
599
603
"the final path component is returned with the extension removed. Otherwise, "
600
604
"``None`` is returned."
601
605
msgstr ""
606
+ "ファイル *path* で指定されたモジュールの名前を、そのモジュールを含むパッケー"
607
+ "ジの名前を含まない形で返します。ファイル拡張子は、 :func:`importlib."
608
+ "machinery.all_suffixes` の全てのエントリに対して一致するかどうかをチェックさ"
609
+ "れます。拡張子が一致した場合、最後のパス成分から拡張子を除いたものを返しま"
610
+ "す。それ以外の場合は ``None`` を返します。"
602
611
603
612
#: ../../library/inspect.rst:276
604
613
msgid ""
605
614
"Note that this function *only* returns a meaningful name for actual Python "
606
615
"modules - paths that potentially refer to Python packages will still return "
607
616
"``None``."
608
617
msgstr ""
618
+ "この関数は、実際の Python モジュールとして意味のある名前 *だけ* を返します。"
619
+ "すなわち、 Python パッケージを指している可能性のあるパスに対しては、依然とし"
620
+ "て ``None`` を返します。"
609
621
610
622
#: ../../library/inspect.rst:280
611
623
msgid "The function is based directly on :mod:`importlib`."
612
- msgstr ""
624
+ msgstr "この関数は直接 :mod:`importlib` に依存するようになりました。 "
613
625
614
626
#: ../../library/inspect.rst:286
615
627
msgid "Return ``True`` if the object is a module."
0 commit comments