@@ -1665,6 +1665,9 @@ msgid ""
1665
1665
"was inadvertently omitted in the original implementation. (Contributed by "
1666
1666
"Eric Snow in :issue:`19152`.)"
1667
1667
msgstr ""
1668
+ "现在 :class:`importlib.machinery.ExtensionFileLoader` 增加了 "
1669
+ ":meth:`~importlib.machinery.ExtensionFileLoader.get_filename` 方法。 "
1670
+ "此方法在最初的实现中意外缺失。 (由 Eric Snow 在 :issue:`19152` 中贡献。)"
1668
1671
1669
1672
#: ../../whatsnew/3.4.rst:1024
1670
1673
msgid "inspect"
@@ -1677,6 +1680,9 @@ msgid ""
1677
1680
"for modules, classes and functions. (Contributed by Claudiu Popa and Nick "
1678
1681
"Coghlan in :issue:`18626`.)"
1679
1682
msgstr ""
1683
+ "现在 :mod:`inspect` 模块提供了一个基本的 :ref:`命令行界面 <inspect-module-cli>` "
1684
+ "用于快速显示模块、类和函数的源代码以及其他信息。 (由 Claudiu Popa 和 Nick Coghlan 在 :issue:`18626` "
1685
+ "中贡献。)"
1680
1686
1681
1687
#: ../../whatsnew/3.4.rst:1031
1682
1688
msgid ""
@@ -1685,6 +1691,9 @@ msgid ""
1685
1691
"``__wrapped__`` attribute on a wrapper function). (Contributed by Daniel "
1686
1692
"Urban, Aaron Iles and Nick Coghlan in :issue:`13266`.)"
1687
1693
msgstr ""
1694
+ ":func:`~inspect.unwrap` 用于方便地解开由 :func:`functools.wraps` (以及任何在包装器函数上设置 "
1695
+ "``__wrapped__`` 属性的 API) 创建的包装器函数链。 (由 Daniel Urban, Aaron Iles 和 Nick "
1696
+ "Coghlan 在 :issue:`13266` 中贡献。)"
1688
1697
1689
1698
#: ../../whatsnew/3.4.rst:1036
1690
1699
msgid ""
@@ -1694,6 +1703,8 @@ msgid ""
1694
1703
"metaclasses. (Contributed by Ethan Furman in :issue:`18929` and "
1695
1704
":issue:`19030`.)"
1696
1705
msgstr ""
1706
+ "作为新的 :mod:`enum` 模块实现的一部分,现在 :mod:`inspect` 模块通过元类为自定义 ``__dir__`` "
1707
+ "方法和动态类属性提供了更好的支持。 (由 Ethan Furman 在 :issue:`18929` 和 :issue:`19030` 中贡献。)"
1697
1708
1698
1709
#: ../../whatsnew/3.4.rst:1042
1699
1710
msgid ""
0 commit comments