Skip to content

Commit 91ef16a

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parent 94f6cdf commit 91ef16a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

library/inspect.po

+13-1
Original file line numberDiff line numberDiff line change
@@ -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."
576576
msgstr ""
577+
"オブジェクトの全てのメンバーを ``(name, value)`` ペアのリストで返します。リス"
578+
"トは名前 (name) でソートされます。オプション引数 *predicate* が指定された場"
579+
"合、各メンバーの ``value`` オブジェクトを引数として *predicate* が呼ばれ、そ"
580+
"の戻り値が真となるとなるメンバーだけがリストに含まれます。"
577581

578582
#: ../../library/inspect.rst:263
579583
msgid ""
@@ -592,17 +596,25 @@ msgid ""
592596
"the final path component is returned with the extension removed. Otherwise, "
593597
"``None`` is returned."
594598
msgstr ""
599+
"ファイル *path* で指定されたモジュールの名前を、そのモジュールを含むパッケー"
600+
"ジの名前を含まない形で返します。ファイル拡張子は、 :func:`importlib."
601+
"machinery.all_suffixes` の全てのエントリに対して一致するかどうかをチェックさ"
602+
"れます。拡張子が一致した場合、最後のパス成分から拡張子を除いたものを返しま"
603+
"す。それ以外の場合は ``None`` を返します。"
595604

596605
#: ../../library/inspect.rst:276
597606
msgid ""
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``."
601610
msgstr ""
611+
"この関数は、実際の Python モジュールとして意味のある名前 *だけ* を返します。"
612+
"すなわち、 Python パッケージを指している可能性のあるパスに対しては、依然とし"
613+
"て ``None`` を返します。"
602614

603615
#: ../../library/inspect.rst:280
604616
msgid "The function is based directly on :mod:`importlib`."
605-
msgstr ""
617+
msgstr "この関数は直接 :mod:`importlib` に依存するようになりました。"
606618

607619
#: ../../library/inspect.rst:286
608620
msgid "Return ``True`` if the object is a module."

0 commit comments

Comments
 (0)