@@ -1987,7 +1987,7 @@ msgstr "pdb"
19871987msgid ""
19881988"The :class:`~pdb.Pdb` class constructor has a new optional *readrc* argument"
19891989" to control whether ``.pdbrc`` files should be read."
1990- msgstr ""
1990+ msgstr ":class:`~pdb.Pdb` 类构造器新增可选的 *readrc* 参数用来控制是否应当读取 ``.pdbrc`` 文件。 "
19911991
19921992#: ../../whatsnew/3.6.rst:1308
19931993msgid "pickle"
@@ -2000,6 +2000,9 @@ msgid ""
20002000" version 4. Protocol version 4 already supports this case. (Contributed by "
20012001"Serhiy Storchaka in :issue:`24164`.)"
20022002msgstr ""
2003+ "需要附带关键字参数调用 ``__new__`` 的对象现在可以使用早于协议版本 4 的 :ref:`pickle 协议 <pickle-"
2004+ "protocols>` 来 pickle。 协议版本 4 之前已支持此场景。 (由 Serhiy Storchaka 在 :issue:`24164` "
2005+ "中贡献。)"
20032006
20042007#: ../../whatsnew/3.6.rst:1317
20052008msgid "pickletools"
@@ -2010,6 +2013,8 @@ msgid ""
20102013":func:`pickletools.dis()` now outputs the implicit memo index for the "
20112014"``MEMOIZE`` opcode. (Contributed by Serhiy Storchaka in :issue:`25382`.)"
20122015msgstr ""
2016+ "现在 :func:`pickletools.dis()` 将为 ``MEMOIZE`` 操作码输出隐式的 memo 索引。 (由 Serhiy "
2017+ "Storchaka 在 :issue:`25382` 中贡献。)"
20132018
20142019#: ../../whatsnew/3.6.rst:1325
20152020msgid "pydoc"
@@ -2020,13 +2025,17 @@ msgid ""
20202025"The :mod:`pydoc` module has learned to respect the ``MANPAGER`` environment "
20212026"variable. (Contributed by Matthias Klose in :issue:`8637`.)"
20222027msgstr ""
2028+ ":mod:`pydoc` 模块将能遵守 ``MANPAGER`` 环境变量的设置。 (由 Matthias Klose 在 :issue:`8637` "
2029+ "中贡献。)"
20232030
20242031#: ../../whatsnew/3.6.rst:1331
20252032msgid ""
20262033":func:`help` and :mod:`pydoc` can now list named tuple fields in the order "
20272034"they were defined rather than alphabetically. (Contributed by Raymond "
20282035"Hettinger in :issue:`24879`.)"
20292036msgstr ""
2037+ ":func:`help` 和 :mod:`pydoc` 现在将以具名元组字段被定义的顺序而非字母顺序列出它们。 (由 Raymond Hettinger"
2038+ " 在 :issue:`24879` 中贡献。)"
20302039
20312040#: ../../whatsnew/3.6.rst:1337
20322041msgid "random"
@@ -2038,6 +2047,8 @@ msgid ""
20382047"specified size from the given population with optional weights. (Contributed"
20392048" by Raymond Hettinger in :issue:`18844`.)"
20402049msgstr ""
2050+ "新增 :func:`~random.choices` 函数用于从给定的总体中返回指定大小的元素列表并有可选权重。 (由 Raymond "
2051+ "Hettinger 在 :issue:`18844` 中贡献。)"
20412052
20422053#: ../../whatsnew/3.6.rst:1345 ../../whatsnew/3.6.rst:2025
20432054msgid "re"
@@ -2050,20 +2061,27 @@ msgid ""
20502061"``'PYTHON'``; ``'(?i)g(?-i:v)r'`` matches ``'GvR'`` and ``'gvr'``, but not "
20512062"``'GVR'``. (Contributed by Serhiy Storchaka in :issue:`433028`.)"
20522063msgstr ""
2064+ "在正则表达式中增加了对修饰符区段的支持。 示例: ``'(?i:p)ython'`` 匹配 ``'python'`` 和 "
2065+ "``'Python'``,但不匹配 ``'PYTHON'``;``'(?i)g(?-i:v)r'`` 匹配 ``'GvR'`` 和 "
2066+ "``'gvr'``,但不匹配 ``'GVR'``。 (由 Serhiy Storchaka 在 :issue:`433028` 中贡献。)"
20532067
20542068#: ../../whatsnew/3.6.rst:1352
20552069msgid ""
20562070"Match object groups can be accessed by ``__getitem__``, which is equivalent "
20572071"to ``group()``. So ``mo['name']`` is now equivalent to "
20582072"``mo.group('name')``. (Contributed by Eric Smith in :issue:`24454`.)"
20592073msgstr ""
2074+ "Match 对象分组可通过 ``__getitem__`` 来访问,这等价于 ``group()``。 因此 ``mo['name']`` 现在将等价于"
2075+ " ``mo.group('name')``。 (由 Eric Smith 在 :issue:`24454` 中贡献。)"
20602076
20612077#: ../../whatsnew/3.6.rst:1356
20622078msgid ""
20632079":class:`~re.Match` objects now support :meth:`index-like objects "
20642080"<object.__index__>` as group indices. (Contributed by Jeroen Demeyer and "
20652081"Xiang Zhang in :issue:`27177`.)"
20662082msgstr ""
2083+ ":class:`~re.Match` 对象现在支持将 :meth:`索引型对象 <object.__index__>` 作为分组索引。 (由 "
2084+ "Jeroen Demeyer 和 Xiang Zhang 在 :issue:`27177` 中贡献。)"
20672085
20682086#: ../../whatsnew/3.6.rst:1363
20692087msgid "readline"
@@ -2075,6 +2093,8 @@ msgid ""
20752093"addition of input to the history list. (Contributed by Tyler Crompton in "
20762094":issue:`26870`.)"
20772095msgstr ""
2096+ "新增 :func:`~readline.set_auto_history` 来启用或禁用历史列表输入的自动添加。 (由 Tyler Crompton 在"
2097+ " :issue:`26870` 中贡献。)"
20782098
20792099#: ../../whatsnew/3.6.rst:1371
20802100msgid "rlcompleter"
0 commit comments