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