@@ -1839,7 +1839,7 @@ msgstr ""
18391839msgid ""
18401840"Is there an equivalent to Perl's ``chomp()`` for removing trailing newlines "
18411841"from strings?"
1842- msgstr ""
1842+ msgstr "是否有 Perl 的 ``chomp()`` 等价物用于从字符串中移除末尾换行符? "
18431843
18441844#: ../../faq/programming.rst:992
18451845msgid ""
@@ -1874,7 +1874,7 @@ msgstr "由于通常只在一次读取一行文本时才需要这样做,所以
18741874
18751875#: ../../faq/programming.rst:1009
18761876msgid "Is there a ``scanf()`` or ``sscanf()`` equivalent?"
1877- msgstr ""
1877+ msgstr "是否有 ``scanf()`` 或 ``sscanf()`` 的等价物? "
18781878
18791879#: ../../faq/programming.rst:1011
18801880msgid "Not as such."
@@ -1901,7 +1901,7 @@ msgstr "对于更复杂的输入解析,正则表达式相比 C 的 ``sscanf``
19011901
19021902#: ../../faq/programming.rst:1024
19031903msgid "What does ``UnicodeDecodeError`` or ``UnicodeEncodeError`` error mean?"
1904- msgstr ""
1904+ msgstr "``UnicodeDecodeError`` 或 ``UnicodeEncodeError`` 错误的含义是什么? "
19051905
19061906#: ../../faq/programming.rst:1026
19071907msgid "See the :ref:`unicode-howto`."
@@ -1925,6 +1925,11 @@ msgid ""
19251925" ^\n"
19261926"SyntaxError: unterminated string literal (detected at line 1)"
19271927msgstr ""
1928+ ">>> r'C:\\ this\\ will\\ not\\ work\\ '\n"
1929+ " File \" <stdin>\" , line 1\n"
1930+ " r'C:\\ this\\ will\\ not\\ work\\ '\n"
1931+ " ^\n"
1932+ "SyntaxError: unterminated string literal (detected at line 1)"
19281933
19291934#: ../../faq/programming.rst:1042
19301935msgid ""
0 commit comments