Skip to content

Commit 7adb1d9

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parent d3077e2 commit 7adb1d9

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

library/inspect.po

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

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

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

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

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

0 commit comments

Comments
 (0)