@@ -1661,6 +1661,10 @@ msgid ""
1661
1661
"descriptors in addition to file-like objects. (Contributed by Wei Wu in "
1662
1662
":issue:`23566`.)"
1663
1663
msgstr ""
1664
+ "现在 :func:`~faulthandler.enable`, :func:`~faulthandler.register`, "
1665
+ ":func:`~faulthandler.dump_traceback` 和 "
1666
+ ":func:`~faulthandler.dump_traceback_later` 函数除了接受文件型对象以外也接受文件描述符。 (由 Wei Wu "
1667
+ "在 :issue:`23566` 中贡献。)"
1664
1668
1665
1669
#: ../../whatsnew/3.5.rst:1148
1666
1670
msgid "functools"
@@ -1672,6 +1676,8 @@ msgid ""
1672
1676
"making it significantly faster. (Contributed by Matt Joiner, Alexey "
1673
1677
"Kachayev, and Serhiy Storchaka in :issue:`14373`.)"
1674
1678
msgstr ""
1679
+ "现在大部分 :func:`~functools.lru_cache` 机制已使用 C 实现,使其速度显著提升。 (由 Matt Joiner, "
1680
+ "Alexey Kachayev 和 Serhiy Storchaka 在 :issue:`14373` 中贡献。)"
1675
1681
1676
1682
#: ../../whatsnew/3.5.rst:1158
1677
1683
msgid "glob"
@@ -1683,6 +1689,8 @@ msgid ""
1683
1689
"recursive search in subdirectories, using the ``\" **\" `` pattern. "
1684
1690
"(Contributed by Serhiy Storchaka in :issue:`13968`.)"
1685
1691
msgstr ""
1692
+ "现在 :func:`~glob.iglob` 和 :func:`~glob.glob` 函数支持通过使用 ``\" **\" `` 模式在子目录中递归搜索。"
1693
+ " (由 Serhiy Storchaka 在 :issue:`13968` 中贡献。)"
1686
1694
1687
1695
#: ../../whatsnew/3.5.rst:1166
1688
1696
msgid "gzip"
@@ -1694,6 +1702,8 @@ msgid ""
1694
1702
"``\" x\" `` to request exclusive creation. (Contributed by Tim Heaney in "
1695
1703
":issue:`19222`.)"
1696
1704
msgstr ""
1705
+ "现在 :class:`~gzip.GzipFile` 构造器的 *mode* 参数可接受 ``\" x\" `` 来请求独占式的创建。 (由 Tim "
1706
+ "Heaney 在 :issue:`19222` 中贡献。)"
1697
1707
1698
1708
#: ../../whatsnew/3.5.rst:1174
1699
1709
msgid "heapq"
@@ -1706,6 +1716,8 @@ msgid ""
1706
1716
"optional *reverse* keyword argument can be used to reverse element "
1707
1717
"comparison::"
1708
1718
msgstr ""
1719
+ "现在 :func:`~heapq.merge` 中的元素比较可通过在新增的可选关键字参数 *key* 中传入一个 :term:`key "
1720
+ "function` 来进行定制,并且新增了可选关键字参数 *reverse* 用于反向的元素比较::"
1709
1721
1710
1722
#: ../../whatsnew/3.5.rst:1189
1711
1723
msgid "(Contributed by Raymond Hettinger in :issue:`13742`.)"
0 commit comments