@@ -1622,6 +1622,9 @@ msgid ""
16221622"not be treated as an error. Those bytes will not be decoded and the number "
16231623"of bytes that have been decoded will be stored in *consumed*."
16241624msgstr ""
1625+ "如果 *consumed* 为 ``NULL``,则行为类似于 :c:func:`PyUnicode_DecodeUTF7`。 如果 "
1626+ "*consumed* 不为 ``NULL``,则末尾的不完整 UTF-7 base-64 部分将不被视为错误。 "
1627+ "这些字节将不会被解码并且已被解码的字节数将存储在 *consumed* 中。"
16251628
16261629#: ../../c-api/unicode.rst:1316
16271630msgid ""
@@ -1644,21 +1647,25 @@ msgstr "Unicode-Escape 编解码器"
16441647
16451648#: ../../c-api/unicode.rst:1333
16461649msgid "These are the \" Unicode Escape\" codec APIs:"
1647- msgstr ""
1650+ msgstr "以下是 \" Unicode Escape \" 编解码器的 API: "
16481651
16491652#: ../../c-api/unicode.rst:1339
16501653msgid ""
16511654"Create a Unicode object by decoding *size* bytes of the Unicode-Escape "
16521655"encoded string *s*. Return ``NULL`` if an exception was raised by the "
16531656"codec."
16541657msgstr ""
1658+ "通过解码 Unicode-Escape 编码的字节串 *s* 的 *size* 个字节创建一个 Unicode 对象。 如果编解码器引发了异常则返回 "
1659+ "``NULL``。"
16551660
16561661#: ../../c-api/unicode.rst:1345
16571662msgid ""
16581663"Encode a Unicode object using Unicode-Escape and return the result as a "
16591664"bytes object. Error handling is \" strict\" . Return ``NULL`` if an "
16601665"exception was raised by the codec."
16611666msgstr ""
1667+ "使用 Unicode-Escape 编码 Unicode 对象并将结果作为字节串对象返回。 错误处理方式为 \" strict\" 。 "
1668+ "如果编解码器引发了异常则将返回 ``NULL``。"
16621669
16631670#: ../../c-api/unicode.rst:1352
16641671msgid ""
@@ -1675,25 +1682,29 @@ msgstr ""
16751682
16761683#: ../../c-api/unicode.rst:1361
16771684msgid "Raw-Unicode-Escape Codecs"
1678- msgstr ""
1685+ msgstr "Raw-Unicode-Escape 编解码器 "
16791686
16801687#: ../../c-api/unicode.rst:1363
16811688msgid "These are the \" Raw Unicode Escape\" codec APIs:"
1682- msgstr ""
1689+ msgstr "以下是 \" Raw Unicode Escape \" 编解码器的 API: "
16831690
16841691#: ../../c-api/unicode.rst:1369
16851692msgid ""
16861693"Create a Unicode object by decoding *size* bytes of the Raw-Unicode-Escape "
16871694"encoded string *s*. Return ``NULL`` if an exception was raised by the "
16881695"codec."
16891696msgstr ""
1697+ "通过解码 Raw-Unicode-Escape 编码的字节串 *s* 的 *size* 个字节创建一个 Unicode 对象。 "
1698+ "如果编解码器引发了异常则返回 ``NULL``。"
16901699
16911700#: ../../c-api/unicode.rst:1375
16921701msgid ""
16931702"Encode a Unicode object using Raw-Unicode-Escape and return the result as a "
16941703"bytes object. Error handling is \" strict\" . Return ``NULL`` if an "
16951704"exception was raised by the codec."
16961705msgstr ""
1706+ "使用 Raw-Unicode-Escape 编码 Unicode 对象并将结果作为字节串对象返回。 错误处理方式为 \" strict\" 。 "
1707+ "如果编解码器引发了异常则将返回 ``NULL``。"
16971708
16981709#: ../../c-api/unicode.rst:1383
16991710msgid ""
@@ -1711,13 +1722,13 @@ msgstr ""
17111722
17121723#: ../../c-api/unicode.rst:1393
17131724msgid "Latin-1 Codecs"
1714- msgstr ""
1725+ msgstr "Latin-1 编解码器 "
17151726
17161727#: ../../c-api/unicode.rst:1395
17171728msgid ""
17181729"These are the Latin-1 codec APIs: Latin-1 corresponds to the first 256 "
17191730"Unicode ordinals and only these are accepted by the codecs during encoding."
1720- msgstr ""
1731+ msgstr "以下是 Latin-1 编解码器的 API: Latin-1 对应于前 256 个 Unicode 码位且编码器在编码期间只接受这些码位。 "
17211732
17221733#: ../../c-api/unicode.rst:1401
17231734msgid ""
0 commit comments