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

Skip to content

Commit c784e16

Browse files
[po] auto sync
1 parent 79a2354 commit c784e16

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "96.11%", "updated_at": "2024-08-28T04:47:05Z"}
1+
{"translation": "96.11%", "updated_at": "2024-08-28T06:47:54Z"}

howto/regex.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -901,9 +901,8 @@ msgid ""
901901
" in a :exc:`DeprecationWarning` and will eventually become a "
902902
":exc:`SyntaxError`. See :ref:`the-backslash-plague`."
903903
msgstr ""
904-
"在这个例子中需要 ``r`` 前缀,使字面为原始字符串字面,因为普通的“加工”字符串字面中的转义序列不能被 Python 识别为正则表达式,导致 "
905-
":exc:`DeprecationWarning` 并最终产生 :exc:`SyntaxError`。 请参阅 :ref:`the-backslash-"
906-
"plague`。"
904+
"在这个例子中, ``r`` 前缀用于将字面量标记为原始字符串字面量,这是必要的。因为在普通的“加工”字符串字面量中,如果出现 Python 无法识别的转义序列(尽管这个序列在正则表达式中是合法的),会引发一个 :exc:`DeprecationWarning` ,并且在未来会变成 :exc:`SyntaxError`。 请参阅 :ref:`the-backslash-plague`。\n"
905+
"> 译注:所谓“加工”字符串(cooked string),就是指会解释转义序列的普通字符串,与之相对的是“不加工”的原始字符串(raw string)。"
907906

908907
#: ../../howto/regex.rst:479
909908
msgid ""
@@ -912,8 +911,9 @@ msgid ""
912911
"sequence of :ref:`match object <match-objects>` instances as an "
913912
":term:`iterator`::"
914913
msgstr ""
915-
":meth:`~re.Pattern.findall` 必须先创建整个列表才能返回结果。 :meth:`~re.Pattern.finditer` "
916-
"方法将一个 :ref:`匹配对象 <match-objects>` 的序列返回为一个 :term:`iterator` ::"
914+
":meth:`~re.Pattern.findall` 方法必须在返回结果前生成一个完整的匹配列表。而 "
915+
":meth:`~re.Pattern.finditer` 方法则是以迭代器 :term:`iterator` 的形式返回一系列 :ref:`匹配对象 "
916+
"<match-objects>` 实例。"
917917

918918
#: ../../howto/regex.rst:495
919919
msgid "Module-Level Functions"

0 commit comments

Comments
 (0)