@@ -47,7 +47,7 @@ msgid ""
4747"*format* and the variable argument list *va*. Unix man page "
4848":manpage:`vsnprintf(2)`."
4949msgstr ""
50- "根据格式字符串 *format* 和 变量参数列表 *va* , 不能输出超过 *size* 字节到 *str* 。请参见Unix手册页 "
50+ "根据格式字符串 *format* 和 变量参数列表 *va* ,不能输出超过 *size* 字节到 *str* 。请参见Unix手册页 "
5151":manpage:`vsnprintf(2)` 。"
5252
5353#: ../../c-api/conversion.rst:23
@@ -91,7 +91,7 @@ msgid ""
9191"characters were written to *str* (excluding the trailing ``'\\ 0'`` byte at "
9292"*str*[*rv*])."
9393msgstr ""
94- "当 ``0 <= rv < size`` ,输出转换成功 而且 *rv* 个字符被写入 *str* (不包含末尾 *str*[*rv*] 的 "
94+ "当 ``0 <= rv < size`` ,输出转换成功而且 *rv* 个字符被写入 *str* (不包含末尾 *str*[*rv*] 的 "
9595"``'\\ 0'`` 字节)"
9696
9797#: ../../c-api/conversion.rst:43
@@ -160,18 +160,23 @@ msgid ""
160160"exception and return ``-1.0``. In both cases, set ``*endptr`` to point to "
161161"the first character after the converted value."
162162msgstr ""
163+ "如果 ``s`` 表示一个太大而不能存储在一个浮点数中的值(比方说, ``\" 1e500\" `` 在许多平台上是一个字符串)然后如果 "
164+ "``overflow_exception`` 是 ``NULL`` 返回 ``Py_HUGE_VAL`` (用适当的符号)并且不设置任何异常。 "
165+ "在其他方面, ``overflow_exception`` 必须指向一个 Python 异常对象;引发异常并返回 ``-1.0`` "
166+ "。在这两种情况下,设置 ``*endptr`` 指向转换值之后的第一个字符。"
163167
164168#: ../../c-api/conversion.rst:81
165169msgid ""
166170"If any other error occurs during the conversion (for example an out-of-"
167171"memory error), set the appropriate Python exception and return ``-1.0``."
168- msgstr ""
172+ msgstr "如果在转换期间发生任何其他错误(比如一个内存不足的错误),设置适当的 Python 异常并且返回 ``-1.0`` 。 "
169173
170174#: ../../c-api/conversion.rst:90
171175msgid ""
172176"Convert a :c:type:`double` *val* to a string using supplied *format_code*, "
173177"*precision*, and *flags*."
174178msgstr ""
179+ "转换 :c:type:`double` *val* 为一个使用 *format_code*, *precision* 和 *flags* 的字符串"
175180
176181#: ../../c-api/conversion.rst:93
177182msgid ""
0 commit comments