File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 91.93 %" , "updated_at" : " 2024-04-17T02:16:03Z " }
1+ {"translation" : " 91.94 %" , "updated_at" : " 2024-04-18T03:09:43Z " }
Original file line number Diff line number Diff line change @@ -2097,6 +2097,9 @@ msgid ""
20972097"alternatives to an existing regular expression. (Contributed by Matthew "
20982098"Barnett in :issue:`16203`.)"
20992099msgstr ""
2100+ "新增的 :func:`~re.fullmatch` 函数和 :meth:`.regex.fullmatch` 方法可将模式锚定到要匹配的字符串的两端。 "
2101+ "这提供了一种明确匹配目标的方式,从而避免了一类微妙的错误错误,即在代码更改或为现有正则表达式添加替代项时丢失 ``$`` 字符。 (由 Matthew "
2102+ "Barnett 在 :issue:`16203` 中贡献。)"
21002103
21012104#: ../../whatsnew/3.4.rst:1310
21022105msgid ""
@@ -2105,6 +2108,9 @@ msgid ""
21052108" start, end, and the part of the string that matched. (Contributed by Hugo "
21062109"Lopes Tavares and Serhiy Storchaka in :issue:`13592` and :issue:`17087`.)"
21072110msgstr ""
2111+ ":ref:`正则表达式对象 <re-objects>` 的 repr 现在将包括模式和旗标;:ref:`匹配对象 <match-objects>` 的 "
2112+ "repr 现在将包括已匹配字符串的开头、末尾和组成。 (由 Hugo Lopes Tavares 和 Serhiy Storchaka 在 "
2113+ ":issue:`13592` 和 :issue:`17087` 中贡献。)"
21082114
21092115#: ../../whatsnew/3.4.rst:1318
21102116msgid "resource"
@@ -2117,6 +2123,9 @@ msgid ""
21172123"ability to query or set the resource limits for processes other than the one"
21182124" making the call. (Contributed by Christian Heimes in :issue:`16595`.)"
21192125msgstr ""
2126+ "新增的 :func:`~resource.prlimit` 函数,在内核版本 2.6.36 以上的 Linux 平台及 glibc 版本 2.13 "
2127+ "以上可用,提供了查询或设置执行调用的进程以外的进程的资源限制的功能。 (由 Christian Heimes 在 :issue:`16595` "
2128+ "中贡献。)"
21202129
21212130#: ../../whatsnew/3.4.rst:1325
21222131msgid ""
You can’t perform that action at this time.
0 commit comments