File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 92.51 %" , "updated_at" : " 2023-11-25T06:55:34Z " }
1+ {"translation" : " 92.52 %" , "updated_at" : " 2023-11-26T01:19:17Z " }
Original file line number Diff line number Diff line change @@ -1211,23 +1211,25 @@ msgid ""
12111211"Raises a :exc:`ValueError` if *size* is ``NULL`` and the :c:expr:`wchar_t*` "
12121212"string contains null characters."
12131213msgstr ""
1214+ "如果 *size* 为 ``NULL`` 且 :c:expr:`wchar_t*` 字符串包含空字符则会引发 :exc:`ValueError`。"
12141215
12151216#: ../../c-api/unicode.rst:897
12161217msgid "Built-in Codecs"
1217- msgstr ""
1218+ msgstr "内置编解码器 "
12181219
12191220#: ../../c-api/unicode.rst:899
12201221msgid ""
12211222"Python provides a set of built-in codecs which are written in C for speed. "
12221223"All of these codecs are directly usable via the following functions."
1223- msgstr ""
1224+ msgstr "Python 提供了一组以 C 编写以保证运行速度的内置编解码器。 所有这些编解码器均可通过下列函数直接使用。 "
12241225
12251226#: ../../c-api/unicode.rst:902
12261227msgid ""
12271228"Many of the following APIs take two arguments encoding and errors, and they "
12281229"have the same semantics as the ones of the built-in :func:`str` string "
12291230"object constructor."
12301231msgstr ""
1232+ "下列 API 大都接受 encoding 和 errors 两个参数,它们具有与在内置 :func:`str` 字符串对象构造器中同名参数相同的语义。"
12311233
12321234#: ../../c-api/unicode.rst:906
12331235msgid ""
@@ -1236,6 +1238,9 @@ msgid ""
12361238"for encoding file names. This uses the :term:`filesystem encoding and error "
12371239"handler` internally."
12381240msgstr ""
1241+ "将 encoding 设为 ``NULL`` 将使用默认编码格式即 UTF-8。 文件系统调用应当使用 "
1242+ ":c:func:`PyUnicode_FSConverter` 来编码文件名。 这将在内部使用 :term:`filesystem encoding "
1243+ "and error handler`。"
12391244
12401245#: ../../c-api/unicode.rst:911
12411246msgid ""
You can’t perform that action at this time.
0 commit comments