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