@@ -1775,13 +1775,16 @@ msgid ""
17751775"Create a Unicode object by decoding *size* bytes of the ASCII encoded string"
17761776" *s*. Return ``NULL`` if an exception was raised by the codec."
17771777msgstr ""
1778+ "通过解码 ASCII 编码的字节串 *s* 的 *size* 个字节创建一个 Unicode 对象。 如果编解码器引发了异常则返回 ``NULL``。"
17781779
17791780#: ../../c-api/unicode.rst:1439
17801781msgid ""
17811782"Encode a Unicode object using ASCII and return the result as Python bytes "
17821783"object. Error handling is \" strict\" . Return ``NULL`` if an exception was "
17831784"raised by the codec."
17841785msgstr ""
1786+ "使用 ASCII 编码 Unicode 对象并将结果作为 Python 字节串对象返回。 错误处理方式为 \" strict\" 。 "
1787+ "如果编解码器引发了异常则将返回 ``NULL``。"
17851788
17861789#: ../../c-api/unicode.rst:1446
17871790msgid ""
@@ -1798,7 +1801,7 @@ msgstr ""
17981801
17991802#: ../../c-api/unicode.rst:1457
18001803msgid "Character Map Codecs"
1801- msgstr ""
1804+ msgstr "字符映射编解码器 "
18021805
18031806#: ../../c-api/unicode.rst:1459
18041807msgid ""
@@ -1812,14 +1815,16 @@ msgstr ""
18121815
18131816#: ../../c-api/unicode.rst:1465
18141817msgid "These are the mapping codec APIs:"
1815- msgstr ""
1818+ msgstr "以下是映射编解码器的 API: "
18161819
18171820#: ../../c-api/unicode.rst:1470
18181821msgid ""
18191822"Create a Unicode object by decoding *size* bytes of the encoded string *s* "
18201823"using the given *mapping* object. Return ``NULL`` if an exception was "
18211824"raised by the codec."
18221825msgstr ""
1826+ "通过使用给定的 *mapping* 对象解码已编码字节串 *s* 的 *size* 个字节创建 Unicode 对象。 如果编解码器引发了异常则返回 "
1827+ "``NULL``。"
18231828
18241829#: ../../c-api/unicode.rst:1474
18251830msgid ""
0 commit comments