@@ -1700,6 +1700,9 @@ msgid ""
17001700"for modules, classes and functions. (Contributed by Claudiu Popa and Nick "
17011701"Coghlan in :issue:`18626`.)"
17021702msgstr ""
1703+ "现在 :mod:`inspect` 模块提供了一个基本的 :ref:`命令行界面 <inspect-module-cli>` "
1704+ "用于快速显示模块、类和函数的源代码以及其他信息。 (由 Claudiu Popa 和 Nick Coghlan 在 :issue:`18626` "
1705+ "中贡献。)"
17031706
17041707#: ../../whatsnew/3.4.rst:1031
17051708msgid ""
@@ -1708,6 +1711,9 @@ msgid ""
17081711"``__wrapped__`` attribute on a wrapper function). (Contributed by Daniel "
17091712"Urban, Aaron Iles and Nick Coghlan in :issue:`13266`.)"
17101713msgstr ""
1714+ ":func:`~inspect.unwrap` 用于方便地解开由 :func:`functools.wraps` (以及任何在包装器函数上设置 "
1715+ "``__wrapped__`` 属性的 API) 创建的包装器函数链。 (由 Daniel Urban, Aaron Iles 和 Nick "
1716+ "Coghlan 在 :issue:`13266` 中贡献。)"
17111717
17121718#: ../../whatsnew/3.4.rst:1036
17131719msgid ""
@@ -1717,6 +1723,8 @@ msgid ""
17171723"metaclasses. (Contributed by Ethan Furman in :issue:`18929` and "
17181724":issue:`19030`.)"
17191725msgstr ""
1726+ "作为新的 :mod:`enum` 模块实现的一部分,现在 :mod:`inspect` 模块通过元类为自定义 ``__dir__`` "
1727+ "方法和动态类属性提供了更好的支持。 (由 Ethan Furman 在 :issue:`18929` 和 :issue:`19030` 中贡献。)"
17201728
17211729#: ../../whatsnew/3.4.rst:1042
17221730msgid ""
@@ -2041,6 +2049,7 @@ msgid ""
20412049"Long strings are now wrapped using Python's normal line continuation syntax."
20422050" (Contributed by Antoine Pitrou in :issue:`17150`.)"
20432051msgstr ""
2052+ "长字符串现在将使用 Python 的常规续行语法进行包装。 (由 Antoine Pitrou 在 :issue:`17150` 中贡献。)"
20442053
20452054#: ../../whatsnew/3.4.rst:1271
20462055msgid "pty"
0 commit comments