8000 [po] auto sync · python/python-docs-zh-cn@6b3addf · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b3addf

Browse files
[po] auto sync
1 parent 0d52f68 commit 6b3addf

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.38%", "updated_at": "2024-02-07T15:09:13Z"}
1+
{"translation": "90.40%", "updated_at": "2024-02-07T16:10:06Z"}

whatsnew/3.6.po

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2024,6 +2024,8 @@ msgid ""
20242024
"they were defined rather than alphabetically. (Contributed by Raymond "
20252025
"Hettinger in :issue:`24879`.)"
20262026
msgstr ""
2027+
":func:`help` 和 :mod:`pydoc` 现在将以具名元组字段被定义的顺序而非字母顺序列出它们。 (由 Raymond Hettinger"
2028+
" 在 :issue:`24879` 中贡献。)"
20272029

20282030
#: ../../whatsnew/3.6.rst:1337
20292031
msgid "random"
@@ -2035,6 +2037,8 @@ msgid ""
20352037
"specified size from the given population with optional weights. (Contributed"
20362038
" by Raymond Hettinger in :issue:`18844`.)"
20372039
msgstr ""
2040+
"新增 :func:`~random.choices` 函数用于从给定的总体中返回指定大小的元素列表并有可选权重。 (由 Raymond "
2041+
"Hettinger 在 :issue:`18844` 中贡献。)"
20382042

20392043
#: ../../whatsnew/3.6.rst:1345 ../../whatsnew/3.6.rst:2025
20402044
msgid "re"
@@ -2047,20 +2051,27 @@ msgid ""
20472051
"``'PYTHON'``; ``'(?i)g(?-i:v)r'`` matches ``'GvR'`` and ``'gvr'``, but not "
20482052
"``'GVR'``. (Contributed by Serhiy Storchaka in :issue:`433028`.)"
20492053
msgstr ""
2054+
"在正则表达式中增加了对修饰符区段的支持。 示例: ``'(?i:p)ython'`` 匹配 ``'python'`` 和 "
2055+
"``'Python'``,但不匹配 ``'PYTHON'``;``'(?i)g(?-i:v)r'`` 匹配 ``'GvR'`` 和 "
2056+
"``'gvr'``,但不匹配 ``'GVR'``。 (由 Serhiy Storchaka 在 :issue:`433028` 中贡献。)"
20502057

20512058
#: ../../whatsnew/3.6.rst:1352
20522059
msgid ""
20532060
"Match object groups can be accessed by ``__getitem__``, which is equivalent "
20542061
"to ``group()``. So ``mo['name']`` is now equivalent to "
20552062
"``mo.group('name')``. (Contributed by Eric Smith in :issue:`24454`.)"
20562063
msgstr ""
2064+
"匹配对象分组可通过 ``__getitem__`` 来访问,这等价于 ``group()``。 因此 ``mo['name']`` 现在将等价于 "
2065+
"``mo.group('name')``。 (由 Eric Smith 在 :issue:`24454` 中贡献。)"
20572066

20582067
#: ../../whatsnew/3.6.rst:1356
20592068
msgid ""
20602069
":class:`~re.Match` objects now support :meth:`index-like objects "
20612070
"<object.__index__>` as group indices. (Contributed by Jeroen Demeyer and "
20622071
"Xiang Zhang in :issue:`27177`.)"
20632072
msgstr ""
2073+
":class:`~re.Match` 对象现在支持将 :meth:`索引型对象 <object.__index__>` 作为分组索引。 (由 "
2074+
"Jeroen Demeyer 和 Xiang Zhang 在 :issue:`27177` 中贡献。)"
20642075

20652076
#: ../../whatsnew/3.6.rst:1363
20662077
msgid "readline"
@@ -2072,6 +2083,8 @@ msgid ""
20722083
"addition of input to the history list. (Contributed by Tyler Crompton in "
20732084
":issue:`26870`.)"
20742085
msgstr ""
2086+
"新增 :func:`~readline.set_auto_history` 来启用或禁用历史列表输入的自动添加。 (由 Tyler Crompton 在"
2087+
" :issue:`26870` 中贡献。)"
20752088

20762089
#: ../../whatsnew/3.6.rst:1371
20772090
msgid "rlcompleter"

0 commit comments

Comments
 (0)
0