@@ -1270,6 +1270,9 @@ msgid ""
12701270"chained traceback, just like the interactive interpreter. (Contributed by "
12711271"Claudiu Popa in :issue:`17442`.)"
12721272msgstr ""
1273+ "现在 :func:`InteractiveInterpreter.showtraceback() "
1274+ "<code.InteractiveInterpreter.showtraceback>` 方法将打印完整的回溯链,就像在交互模式解释器中一样。 (由 "
1275+ "Claudiu Popa 在 :issue:`17442` 中贡献。)"
12731276
12741277#: ../../whatsnew/3.5.rst:901
12751278msgid "collections"
@@ -1281,6 +1284,8 @@ msgid ""
12811284"makes it 4 to 100 times faster. (Contributed by Eric Snow in "
12821285":issue:`16991`.)"
12831286msgstr ""
1287+ "现在 :class:`~collections.OrderedDict` 类使用 C 来实现,令其可提速 4 至 100 倍。 (由 Eric Snow"
1288+ " 在 :issue:`16991` 中贡献。)"
12841289
12851290#: ../../whatsnew/3.5.rst:908
12861291msgid ""
@@ -1290,6 +1295,10 @@ msgid ""
12901295"support :func:`reversed` iteration. (Contributed by Serhiy Storchaka in "
12911296":issue:`19505`.)"
12921297msgstr ""
1298+ ":meth:`OrderedDict.items() <collections.OrderedDict.items>`, "
1299+ ":meth:`OrderedDict.keys() <collections.OrderedDict.keys>`, "
1300+ ":meth:`OrderedDict.values() <collections.OrderedDict.values>` 等视图现在支持 "
1301+ ":func:`reversed` 迭代。 (由 Serhiy Storchaka 在 :issue:`19505` 中贡献。)"
12931302
12941303#: ../../whatsnew/3.5.rst:914
12951304msgid ""
@@ -1301,11 +1310,15 @@ msgid ""
13011310"substitutability for lists. (Contributed by Raymond Hettinger in "
13021311":issue:`23704`.)"
13031312msgstr ""
1313+ ":class:`~collections.deque` 类现在定义了 :meth:`~collections.deque.index`, "
1314+ ":meth:`~collections.deque.insert` 和 :meth:`~collections.deque.copy`,并且支持 "
1315+ "``+`` 和 ``*`` 运算符。 这允许 deque 被识别为 :class:`~collections.abc.MutableSequence` "
1316+ "并提升其替代列表的能力。 (由 Raymond Hettinger 在 :issue:`23704` 中贡献。)"
13041317
13051318#: ../../whatsnew/3.5.rst:921
13061319msgid ""
13071320"Docstrings produced by :func:`~collections.namedtuple` can now be updated::"
1308- msgstr ""
1321+ msgstr "由 :func:`~collections.namedtuple` 产生的文档字符串现在可以被更新:: "
13091322
13101323#: ../../whatsnew/3.5.rst:928
13111324msgid "(Contributed by Berker Peksag in :issue:`24064`.)"
0 commit comments