@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version :Python 3.13\n "
1414"Report-Msgid-Bugs-To :\n "
15- "POT-Creation-Date :2025-11-11 15:06+0000\n "
15+ "POT-Creation-Date :2025-11-25 15:06+0000\n "
1616"PO-Revision-Date :2025-09-15 01:03+0000\n "
1717"Last-Translator :Freesand Leo <yuqinju@163.com>, 2025\n "
1818"Language-Team :Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -283,23 +283,51 @@ msgstr ""
283283"返回值是一个指向包含转换后字符串的 *buffer* 的指针,如果转换失败则为 ``NULL``。 调用方要负责调用 "
284284":c:func:`PyMem_Free` 来释放返回的字符串。"
285285
286- #: ../../c-api/conversion.rst:167
286+ #: ../../c-api/conversion.rst:168
287287msgid ""
288- "Case insensitive comparison of strings. The function works almost "
289- "identically to :c:func:`!strcmp` except that it ignores the case."
290- msgstr "不区分大小写的字符串比较。 除了忽略大小写之外,该函数的工作方式与 :c:func:`!strcmp` 相同。"
288+ "Case insensitive comparison of strings. These functions work almost "
289+ "identically to :c:func:`!strcmp` and :c:func:`!strncmp` (respectively), "
290+ "except that they ignore the case of ASCII characters."
291+ msgstr ""
292+
293+ #: ../../c-api/conversion.rst:172
294+ msgid ""
295+ "Return ``0`` if the strings are equal, a negative value if *str1* sorts "
296+ "lexicographically before *str2*, or a positive value if it sorts after."
297+ msgstr ""
291298
292- #: ../../c-api/conversion.rst:173
299+ #: ../../c-api/conversion.rst:175
293300msgid ""
294- "Case insensitive comparison of strings. The function works almost "
295- "identically to :c:func:`!strncmp` except that it ignores the case."
296- msgstr "不区分大小写的字符串比较。 除了忽略大小写之外,该函数的工作方式与 :c:func:`!strncmp` 相同。"
301+ "In the *str1* or *str2* arguments, a NUL byte marks the end of the string. "
302+ "For :c:func:`!PyOS_mystrnicmp`, the *size* argument gives the maximum size "
303+ "of the string, as if NUL was present at the index given by *size*."
304+ msgstr ""
305+
306+ #: ../../c-api/conversion.rst:179
307+ msgid "These functions do not use the locale."
308+ msgstr ""
309+
310+ #: ../../c-api/conversion.rst:185
311+ msgid "Case insensitive comparison of strings."
312+ msgstr ""
297313
298- #: ../../c-api/conversion.rst:178
314+ #: ../../c-api/conversion.rst:187
315+ msgid ""
316+ "On Windows, these are aliases of :c:func:`!stricmp` and :c:func:`!strnicmp`,"
317+ " respectively."
318+ msgstr ""
319+
320+ #: ../../c-api/conversion.rst:190
321+ msgid ""
322+ "On other platforms, they are aliases of :c:func:`PyOS_mystricmp` and "
323+ ":c:func:`PyOS_mystrnicmp`, respectively."
324+ msgstr ""
325+
326+ #: ../../c-api/conversion.rst:195
299327msgid "Character classification and conversion"
300328msgstr "字符分类与转换"
301329
302- #: ../../c-api/conversion.rst:180
330+ #: ../../c-api/conversion.rst:197
303331msgid ""
304332"The following macros provide locale-independent (unlike the C standard "
305333"library ``ctype.h``) character classification and conversion. The argument "
@@ -308,46 +336,46 @@ msgstr ""
308336"下列宏提供了独立于语言区域 (不同于 C 标准库 ``ctype.h``) 的字符分类与转换。 其参数必须是一个有符号或无符号的 "
309337":c:expr:`char`。"
310338
311- #: ../../c-api/conversion.rst:187
339+ #: ../../c-api/conversion.rst:204
312340msgid "Return true if the character *c* is an alphanumeric character."
313341msgstr "如果字符 *c* 为字母数字类字符则返回真值。"
314342
315- #: ../../c-api/conversion.rst:192
343+ #: ../../c-api/conversion.rst:209
316344msgid ""
317345"Return true if the character *c* is an alphabetic character (``a-z`` and "
318346"``A-Z``)."
319347msgstr "如果字符 *c* 为字母类字符 (``a-z`` 和 ``A-Z``) 则返回真值。"
320348
321- #: ../../c-api/conversion.rst:197
349+ #: ../../c-api/conversion.rst:214
322350msgid "Return true if the character *c* is a decimal digit (``0-9``)."
323351msgstr "如果字符 *c* 为十进制数码 (``0-9``) 则返回真值。"
324352
325- #: ../../c-api/conversion.rst:202
353+ #: ../../c-api/conversion.rst:219
326354msgid ""
327355"Return true if the character *c* is a lowercase ASCII letter (``a-z``)."
328356msgstr "如果字符 *c* 为小写 ASCII 字母 (``a-z``) 则返回真值。"
329357
330- #: ../../c-api/conversion.rst:207
358+ #: ../../c-api/conversion.rst:224
331359msgid ""
332360"Return true if the character *c* is an uppercase ASCII letter (``A-Z``)."
333361msgstr "如果字符 *c* 是一个大写 ASCII 字母 (``A-Z``) 则返回真值。"
334362
335- #: ../../c-api/conversion.rst:212
363+ #: ../../c-api/conversion.rst:229
336364msgid ""
337365"Return true if the character *c* is a whitespace character (space, tab, "
338366"carriage return, newline, vertical tab, or form feed)."
339367msgstr "如果字符 *c* 是一个空白字符 (空格符, 制表符, 回车符, 换行符, 垂直制表符或换页符) 则返回真值。"
340368
341- #: ../../c-api/conversion.rst:218
369+ #: ../../c-api/conversion.rst:235
342370msgid ""
343371"Return true if the character *c* is a hexadecimal digit (``0-9``, ``a-f``, "
344372"and ``A-F``)."
345373msgstr "如果字符 *c* 是一个十六进制数码 (``0-9``, ``a-f`` 和 ``A-F``) 则返回真值。"
346374
347- #: ../../c-api/conversion.rst:224
375+ #: ../../c-api/conversion.rst:241
348376msgid "Return the lowercase equivalent of the character *c*."
349377msgstr "返回字符 *c* 的小写形式。"
350378
351- #: ../../c-api/conversion.rst:229
379+ #: ../../c-api/conversion.rst:246
352380msgid "Return the uppercase equivalent of the character *c*."
353381msgstr "返回字符 *c* 的大写形式。"