@@ -1839,7 +1839,7 @@ msgstr ""
1839
1839
msgid ""
1840
1840
"Is there an equivalent to Perl's ``chomp()`` for removing trailing newlines "
1841
1841
"from strings?"
1842
- msgstr ""
1842
+ msgstr "是否有 Perl 的 ``chomp()`` 等价物用于从字符串中移除末尾换行符? "
1843
1843
1844
1844
#: ../../faq/programming.rst:992
1845
1845
msgid ""
@@ -1874,7 +1874,7 @@ msgstr "由于通常只在一次读取一行文本时才需要这样做,所以
1874
1874
1875
1875
#: ../../faq/programming.rst:1009
1876
1876
msgid "Is there a ``scanf()`` or ``sscanf()`` equivalent?"
1877
- msgstr ""
1877
+ msgstr "是否有 ``scanf()`` 或 ``sscanf()`` 的等价物? "
1878
1878
1879
1879
#: ../../faq/programming.rst:1011
1880
1880
msgid "Not as such."
@@ -1901,7 +1901,7 @@ msgstr "对于更复杂的输入解析,正则表达式相比 C 的 ``sscanf``
1901
1901
1902
1902
#: ../../faq/programming.rst:1024
1903
1903
msgid "What does ``UnicodeDecodeError`` or ``UnicodeEncodeError`` error mean?"
1904
- msgstr ""
1904
+ msgstr "``UnicodeDecodeError`` 或 ``UnicodeEncodeError`` 错误的含义是什么? "
1905
1905
1906
1906
#: ../../faq/programming.rst:1026
1907
1907
msgid "See the :ref:`unicode-howto`."
@@ -1925,6 +1925,11 @@ msgid ""
1925
1925
" ^\n"
1926
1926
"SyntaxError: unterminated string literal (detected at line 1)"
1927
1927
msgstr ""
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)"
1928
1933
1929
1934
#: ../../faq/programming.rst:1042
1930
1935
msgid ""
0 commit comments