Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14ef5b6

Browse files
[po] auto sync
1 parent 7d3687d commit 14ef5b6

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "93.76%", "updated_at": "2024-02-06T13:56:13Z"}
1+
{"translation": "93.77%", "updated_at": "2024-02-07T15:55:42Z"}

whatsnew/3.6.po

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1987,7 +1987,7 @@ msgstr "pdb"
19871987
msgid ""
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
19931993
msgid "pickle"
@@ -2000,6 +2000,9 @@ msgid ""
20002000
" version 4. Protocol version 4 already supports this case. (Contributed by "
20012001
"Serhiy Storchaka in :issue:`24164`.)"
20022002
msgstr ""
2003+
"需要附带关键字参数调用 ``__new__`` 的对象现在可以使用早于协议版本 4 的 :ref:`pickle 协议 <pickle-"
2004+
"protocols>` 来 pickle。 协议版本 4 之前已支持此场景。 (由 Serhiy Storchaka 在 :issue:`24164` "
2005+
"中贡献。)"
20032006

20042007
#: ../../whatsnew/3.6.rst:1317
20052008
msgid "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`.)"
20122015
msgstr ""
2016+
"现在 :func:`pickletools.dis()` 将为 ``MEMOIZE`` 操作码输出隐式的 memo 索引。 (由 Serhiy "
2017+
"Storchaka 在 :issue:`25382` 中贡献。)"
20132018

20142019
#: ../../whatsnew/3.6.rst:1325
20152020
msgid "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`.)"
20222027
msgstr ""
2028+
":mod:`pydoc` 模块将能遵守 ``MANPAGER`` 环境变量的设置。 (由 Matthias Klose 在 :issue:`8637` "
2029+
"中贡献。)"
20232030

20242031
#: ../../whatsnew/3.6.rst:1331
20252032
msgid ""
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`.)"
20292036
msgstr ""
2037+
":func:`help` 和 :mod:`pydoc` 现在将以具名元组字段被定义的顺序而非字母顺序列出它们。 (由 Raymond Hettinger"
2038+
" 在 :issue:`24879` 中贡献。)"
20302039

20312040
#: ../../whatsnew/3.6.rst:1337
20322041
msgid "random"
@@ -2038,6 +2047,8 @@ msgid ""
20382047
"specified size from the given population with optional weights. (Contributed"
20392048
" by Raymond Hettinger in :issue:`18844`.)"
20402049
msgstr ""
2050+
"新增 :func:`~random.choices` 函数用于从给定的总体中返回指定大小的元素列表并有可选权重。 (由 Raymond "
2051+
"Hettinger 在 :issue:`18844` 中贡献。)"
20412052

20422053
#: ../../whatsnew/3.6.rst:1345 ../../whatsnew/3.6.rst:2025
20432054
msgid "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`.)"
20522063
msgstr ""
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
20552069
msgid ""
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`.)"
20592073
msgstr ""
2074+
"Match 对象分组可通过 ``__getitem__`` 来访问,这等价于 ``group()``。 因此 ``mo['name']`` 现在将等价于"
2075+
" ``mo.group('name')``。 (由 Eric Smith 在 :issue:`24454` 中贡献。)"
20602076

20612077
#: ../../whatsnew/3.6.rst:1356
20622078
msgid ""
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`.)"
20662082
msgstr ""
2083+
":class:`~re.Match` 对象现在支持将 :meth:`索引型对象 <object.__index__>` 作为分组索引。 (由 "
2084+
"Jeroen Demeyer 和 Xiang Zhang 在 :issue:`27177` 中贡献。)"
20672085

20682086
#: ../../whatsnew/3.6.rst:1363
20692087
msgid "readline"
@@ -2075,6 +2093,8 @@ msgid ""
20752093
"addition of input to the history list. (Contributed by Tyler Crompton in "
20762094
":issue:`26870`.)"
20772095
msgstr ""
2096+
"新增 :func:`~readline.set_auto_history` 来启用或禁用历史列表输入的自动添加。 (由 Tyler Crompton 在"
2097+
" :issue:`26870` 中贡献。)"
20782098

20792099
#: ../../whatsnew/3.6.rst:1371
20802100
msgid "rlcompleter"

0 commit comments

Comments
 (0)