77# Nasy, 2019
88# Pan Felix <[email protected] >, 201999# ppcfish <[email protected] >, 201910+ # naisen xu <[email protected] >, 20191011#
1112#, fuzzy
1213msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516"Report-Msgid-Bugs-To : \n "
1617"POT-Creation-Date : 2019-01-01 10:14+0900\n "
1718"PO-Revision-Date : 2017-02-16 17:34+0000\n "
18- "Last-Translator : ppcfish <ppcfish@gmail .com>, 2019\n "
19+ "Last-Translator : naisen xu <723648649@qq .com>, 2019\n "
1920"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2021"MIME-Version : 1.0\n "
2122"Content-Type : text/plain; charset=UTF-8\n "
@@ -37,14 +38,17 @@ msgid ""
3738"*format* and the extra arguments. See the Unix man page "
3839":manpage:`snprintf(2)`."
3940msgstr ""
40- "根据格式字符串格式和额外参数输出不超过 *size* 字节到 *str* 。请参见Unix手册页 :manpage:`snprintf(2)` 。"
41+ "根据格式字符串 *format* 和额外参数,输出不超过 *size* 字节到 *str* 。请参见Unix手册页 "
42+ ":manpage:`snprintf(2)` 。"
4143
4244#: ../../c-api/conversion.rst:19
4345msgid ""
4446"Output not more than *size* bytes to *str* according to the format string "
4547"*format* and the variable argument list *va*. Unix man page "
4648":manpage:`vsnprintf(2)`."
4749msgstr ""
50+ "根据格式字符串 *format* 和 变量参数列表 *va*, 不能输出超过 *size* 字节到 *str*。请参见Unix手册页 "
51+ ":manpage:`vsnprintf(2)` 。"
4852
4953#: ../../c-api/conversion.rst:23
5054msgid ""
@@ -53,6 +57,8 @@ msgid ""
5357"is to guarantee consistent behavior in corner cases, which the Standard C "
5458"functions do not."
5559msgstr ""
60+ ":c:func:`PyOS_snprintf` 和 :c:func:`PyOS_vsnprintf` 包装 C 标准库函数 "
61+ ":c:func:`snprintf` 和 :c:func:`vsnprintf`。它们的目的是保证在极端情况下的一致行为,而标准C的函数则不然。"
5662
5763#: ../../c-api/conversion.rst:28
5864msgid ""
@@ -61,6 +67,8 @@ msgid ""
6167"into str. Both functions require that ``str != NULL``, ``size > 0`` and "
6268"``format != NULL``."
6369msgstr ""
70+ "包装器确保 *str*[*size*-1] 在返回时始终是 ``'\\ 0'``。它们从不写入超过 *size* 字节(包括结尾的 ``'\\ 0'`` "
71+ ")到字符串。两函数都需要满足 ``str != NULL``, ``size > 0`` 和 ``format != NULL`` 。"
6472
6573#: ../../c-api/conversion.rst:33
6674msgid ""
0 commit comments