@@ -52,6 +52,8 @@ msgid ""
5252"inserted. Based on the experiences from those implementations, a new "
5353":class:`collections.OrderedDict` class has been introduced."
5454msgstr ""
55+ "常规的 Python 字典会以任意顺序迭代键/值对。 多年以来,有好几位作者编写了可以记住键的初始插入顺序的替代实现。 "
56+ "基于这些实现的经验,现在引入了新的 :class:`collections.OrderedDict` 类。"
5557
5658#: ../../whatsnew/3.1.rst:61
5759msgid ""
@@ -278,7 +280,7 @@ msgstr "新增,改进和弃用的模块"
278280msgid ""
279281"Added a :class:`collections.Counter` class to support convenient counting of"
280282" unique items in a sequence or iterable::"
281- msgstr ""
283+ msgstr "增加了一个 :class:`collections.Counter` 类以支持方便地统计一个序列或可迭代对象中的唯一条目数量。:: "
282284
283285#: ../../whatsnew/3.1.rst:232
284286msgid "(Contributed by Raymond Hettinger; :issue:`1696199`.)"
@@ -311,13 +313,15 @@ msgid ""
311313" from a binary :class:`float`. The conversion is exact but can sometimes be"
312314" surprising::"
313315msgstr ""
316+ ":mod:`decimal` 模块现在支持基于一个二进制 :class:`float` 来创建 decimal 对象。 "
317+ "转换是准确的但有时也会令人吃惊::"
314318
315319#: ../../whatsnew/3.1.rst:256
316320msgid ""
317321"The long decimal result shows the actual binary fraction being stored for "
318322"*1.1*. The fraction has many digits because *1.1* cannot be exactly "
319323"represented in binary."
320- msgstr ""
324+ msgstr "这个长长的 decimal 结果值显示了 *1.1* 所保存的实际二进制分数。 这个分数有许多位因为 *1.1* 无法用二进制来精确表示。 "
321325
322326#: ../../whatsnew/3.1.rst:260
323327msgid "(Contributed by Raymond Hettinger and Mark Dickinson.)"
@@ -381,6 +385,7 @@ msgid ""
381385"supports the execution of packages by looking for and executing a "
382386"``__main__`` submodule when a package name is supplied."
383387msgstr ""
388+ "支持 ``-m`` 命令行开关的 :mod:`runpy` 模块现在也支持当提供包名称时通过查找并执行 ``__main__`` 子模块来执行包。"
384389
385390#: ../../whatsnew/3.1.rst:321
386391msgid "(Contributed by Andi Vajda; :issue:`4195`.)"
@@ -391,6 +396,7 @@ msgid ""
391396"The :mod:`pdb` module can now access and display source code loaded via "
392397":mod:`zipimport` (or any other conformant :pep:`302` loader)."
393398msgstr ""
399+ ":mod:`pdb` 模块现在可以访问并显示通过 :mod:`zipimport` (或其他符合规范的 :pep:`302` 加载器) 加载的源代码。"
394400
395401#: ../../whatsnew/3.1.rst:326
396402msgid "(Contributed by Alexander Belopolsky; :issue:`4201`.)"
@@ -405,12 +411,13 @@ msgid ""
405411"(Suggested by Antoine Pitrou and Jesse Noller. Implemented by Jack "
406412"Diederich; :issue:`5228`.)"
407413msgstr ""
414+ "(由 Antoine Pitrou 和 Jesse Noller 提议,由 Jack Diederich 实现; :issue:`5228`。)"
408415
409416#: ../../whatsnew/3.1.rst:333
410417msgid ""
411418"Add :mod:`pydoc` help topics for symbols so that ``help('@')`` works as "
412419"expected in the interactive environment."
413- msgstr ""
420+ msgstr "为符号增加 :mod:`pydoc` 帮助主题以使得在交互环境下 ``help('@')`` 能符合预期的效果。 "
414421
415422#: ../../whatsnew/3.1.rst:336
416423msgid "(Contributed by David Laban; :issue:`4739`.)"
@@ -449,10 +456,12 @@ msgid ""
449456"The :mod:`io` module has three new constants for the :meth:`seek` method "
450457":data:`SEEK_SET`, :data:`SEEK_CUR`, and :data:`SEEK_END`."
451458msgstr ""
459+ ":mod:`io` 模块新增了三个常量来代表 :meth:`seek` 方法 :data:`SEEK_SET`, :data:`SEEK_CUR` 和"
460+ " :data:`SEEK_END`。"
452461
453462#: ../../whatsnew/3.1.rst:372
454463msgid "The :attr:`sys.version_info` tuple is now a named tuple::"
455- msgstr ""
464+ msgstr ":attr:`sys.version_info` 元组现在是一个具名元组:: "
456465
457466#: ../../whatsnew/3.1.rst:377
458467msgid "(Contributed by Ross Light; :issue:`4285`.)"
0 commit comments