@@ -1300,6 +1300,9 @@ msgid ""
13001300":const:`cmath.nanj` to match the format used by complex repr. (Contributed "
13011301"by Mark Dickinson in :issue:`23229`.)"
13021302msgstr ""
1303+ "新增常量: :const:`cmath.inf` 和 :const:`cmath.nan` 用于匹配 :const:`math.inf` 和 "
1304+ ":const:`math.nan`,以及 :const:`cmath.infj` 和 :const:`cmath.nanj` 用于匹配由 complex"
1305+ " 的 repr 所使用的格式。 (由 Mark Dickinson 在 :issue:`23229` 中贡献。)"
13031306
13041307#: ../../whatsnew/3.6.rst:921
13051308msgid "collections"
@@ -1311,13 +1314,17 @@ msgid ""
13111314"added to represent sized iterable container classes. (Contributed by Ivan "
13121315"Levkivskyi, docs by Neil Girdhar in :issue:`27598`.)"
13131316msgstr ""
1317+ "添加了新的 :class:`~collections.abc.Collection` 抽象基类用于表示有具体大小的可迭代容器类。 (由 Ivan "
1318+ "Levkivskyi 在 :issue:`27598` 中贡献并由 Neil Girdhar 撰写文档。)"
13141319
13151320#: ../../whatsnew/3.6.rst:927
13161321msgid ""
13171322"The new :class:`~collections.abc.Reversible` abstract base class represents "
13181323"iterable classes that also provide the :meth:`__reversed__` method. "
13191324"(Contributed by Ivan Levkivskyi in :issue:`25987`.)"
13201325msgstr ""
1326+ "添加了新的 :class:`~collections.abc.Reversible` 抽象基类用于表示同时提供 :meth:`__reversed__`"
1327+ " 方法的可迭代类。 (由 Ivan Levkivskyi 在 :issue:`25987` 中贡献。)"
13211328
13221329#: ../../whatsnew/3.6.rst:931
13231330msgid ""
@@ -1335,12 +1342,17 @@ msgid ""
13351342"attribute of the returned named tuple class. (Contributed by Raymond "
13361343"Hettinger in :issue:`17941`.)"
13371344msgstr ""
1345+ ":func:`~collections.namedtuple` 函数现在接受可选的关键字参数 "
1346+ "*module*,当指定该参数时,它将被用作所返回的具名元组类的 ``__module__`` 属性。 (由 Raymond Hettinger 在 "
1347+ ":issue:`17941` 中贡献。)"
13381348
13391349#: ../../whatsnew/3.6.rst:940 ../../whatsnew/3.6.rst:2278
13401350msgid ""
13411351"The *verbose* and *rename* arguments for :func:`~collections.namedtuple` are"
13421352" now keyword-only. (Contributed by Raymond Hettinger in :issue:`25628`.)"
13431353msgstr ""
1354+ ":func:`~collections.namedtuple` 的 *verbose* 和 *rename* 参数现在是仅限关键字参数。 (由 "
1355+ "Raymond Hettinger 在 :issue:`25628` 中贡献。)"
13441356
13451357#: ../../whatsnew/3.6.rst:944
13461358msgid ""
0 commit comments