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