|
9 | 9 | msgstr "" |
10 | 10 | "Project-Id-Version: Python 3.14\n" |
11 | 11 | "Report-Msgid-Bugs-To: \n" |
12 | | -"POT-Creation-Date: 2025-11-10 16:45+0000\n" |
| 12 | +"POT-Creation-Date: 2025-11-26 00:14+0000\n" |
13 | 13 | "PO-Revision-Date: 2023-12-11 18:26+0000\n" |
14 | 14 | " Last-Translator: Matt Wang <[email protected]>\n" |
15 | 15 | "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" |
@@ -291,72 +291,98 @@ msgstr "" |
291 | 291 | "回傳值是指向 *buffer* 的指標,其中包含轉換後的字串,如果轉換失敗則回傳 " |
292 | 292 | "``NULL``。呼叫者負責透過呼叫 :c:func:`PyMem_Free` 來釋放回傳的字串。" |
293 | 293 |
|
294 | | -#: ../../c-api/conversion.rst:167 |
| 294 | +#: ../../c-api/conversion.rst:168 |
295 | 295 | msgid "" |
296 | | -"Case insensitive comparison of strings. The function works almost " |
297 | | -"identically to :c:func:`!strcmp` except that it ignores the case." |
| 296 | +"Case insensitive comparison of strings. These functions work almost " |
| 297 | +"identically to :c:func:`!strcmp` and :c:func:`!strncmp` (respectively), " |
| 298 | +"except that they ignore the case of ASCII characters." |
298 | 299 | msgstr "" |
299 | | -"不區分大小寫的字串比較。函式的作用方式幾乎與 :c:func:`!strcmp` 相同,只是它忽" |
300 | | -"略大小寫。" |
| 300 | +"不區分大小寫的字串比較。函式的作用方式幾乎與 :c:func:`!strcmp` 和 :c:func:`!strncmp` " |
| 301 | +"相同,只是它們忽略大小寫。" |
301 | 302 |
|
302 | | -#: ../../c-api/conversion.rst:173 |
| 303 | +#: ../../c-api/conversion.rst:172 |
303 | 304 | msgid "" |
304 | | -"Case insensitive comparison of strings. The function works almost " |
305 | | -"identically to :c:func:`!strncmp` except that it ignores the case." |
| 305 | +"Return ``0`` if the strings are equal, a negative value if *str1* sorts " |
| 306 | +"lexicographically before *str2*, or a positive value if it sorts after." |
306 | 307 | msgstr "" |
307 | | -"不區分大小寫的字串比較。函式的作用方式幾乎與 :c:func:`!strncmp` 相同,只是它" |
308 | | -"忽略大小寫。" |
309 | 308 |
|
310 | | -#: ../../c-api/conversion.rst:178 |
| 309 | +#: ../../c-api/conversion.rst:175 |
| 310 | +msgid "" |
| 311 | +"In the *str1* or *str2* arguments, a NUL byte marks the end of the string. " |
| 312 | +"For :c:func:`!PyOS_mystrnicmp`, the *size* argument gives the maximum size " |
| 313 | +"of the string, as if NUL was present at the index given by *size*." |
| 314 | +msgstr "" |
| 315 | + |
| 316 | +#: ../../c-api/conversion.rst:179 |
| 317 | +msgid "These functions do not use the locale." |
| 318 | +msgstr "" |
| 319 | + |
| 320 | +#: ../../c-api/conversion.rst:185 |
| 321 | +msgid "Case insensitive comparison of strings." |
| 322 | +msgstr "不區分大小寫的字串比較。" |
| 323 | + |
| 324 | +#: ../../c-api/conversion.rst:187 |
| 325 | +msgid "" |
| 326 | +"On Windows, these are aliases of :c:func:`!stricmp` and :c:func:`!strnicmp`, " |
| 327 | +"respectively." |
| 328 | +msgstr "" |
| 329 | + |
| 330 | +#: ../../c-api/conversion.rst:190 |
| 331 | +msgid "" |
| 332 | +"On other platforms, they are aliases of :c:func:`PyOS_mystricmp` and :c:func:" |
| 333 | +"`PyOS_mystrnicmp`, respectively." |
| 334 | +msgstr "" |
| 335 | + |
| 336 | +#: ../../c-api/conversion.rst:195 |
311 | 337 | msgid "Character classification and conversion" |
312 | 338 | msgstr "" |
313 | 339 |
|
314 | | -#: ../../c-api/conversion.rst:180 |
| 340 | +#: ../../c-api/conversion.rst:197 |
315 | 341 | msgid "" |
316 | 342 | "The following macros provide locale-independent (unlike the C standard " |
317 | 343 | "library ``ctype.h``) character classification and conversion. The argument " |
318 | 344 | "must be a signed or unsigned :c:expr:`char`." |
319 | 345 | msgstr "" |
320 | 346 |
|
321 | | -#: ../../c-api/conversion.rst:187 |
| 347 | +#: ../../c-api/conversion.rst:204 |
322 | 348 | msgid "Return true if the character *c* is an alphanumeric character." |
323 | 349 | msgstr "" |
324 | 350 |
|
325 | | -#: ../../c-api/conversion.rst:192 |
| 351 | +#: ../../c-api/conversion.rst:209 |
326 | 352 | msgid "" |
327 | 353 | "Return true if the character *c* is an alphabetic character (``a-z`` and ``A-" |
328 | 354 | "Z``)." |
329 | 355 | msgstr "" |
330 | 356 |
|
331 | | -#: ../../c-api/conversion.rst:197 |
| 357 | +#: ../../c-api/conversion.rst:214 |
332 | 358 | msgid "Return true if the character *c* is a decimal digit (``0-9``)." |
333 | 359 | msgstr "" |
334 | 360 |
|
335 | | -#: ../../c-api/conversion.rst:202 |
| 361 | +#: ../../c-api/conversion.rst:219 |
336 | 362 | msgid "Return true if the character *c* is a lowercase ASCII letter (``a-z``)." |
337 | 363 | msgstr "" |
338 | 364 |
|
339 | | -#: ../../c-api/conversion.rst:207 |
| 365 | +#: ../../c-api/conversion.rst:224 |
340 | 366 | msgid "" |
341 | 367 | "Return true if the character *c* is an uppercase ASCII letter (``A-Z``)." |
342 | 368 | msgstr "" |
343 | 369 |
|
344 | | -#: ../../c-api/conversion.rst:212 |
| 370 | +#: ../../c-api/conversion.rst:229 |
345 | 371 | msgid "" |
346 | 372 | "Return true if the character *c* is a whitespace character (space, tab, " |
347 | 373 | "carriage return, newline, vertical tab, or form feed)." |
348 | 374 | msgstr "" |
349 | 375 |
|
350 | | -#: ../../c-api/conversion.rst:218 |
| 376 | +#: ../../c-api/conversion.rst:235 |
351 | 377 | msgid "" |
352 | 378 | "Return true if the character *c* is a hexadecimal digit (``0-9``, ``a-f``, " |
353 | 379 | "and ``A-F``)." |
354 | 380 | msgstr "" |
355 | 381 |
|
356 | | -#: ../../c-api/conversion.rst:224 |
| 382 | +#: ../../c-api/conversion.rst:241 |
357 | 383 | msgid "Return the lowercase equivalent of the character *c*." |
358 | 384 | msgstr "" |
359 | 385 |
|
360 | | -#: ../../c-api/conversion.rst:229 |
| 386 | +#: ../../c-api/conversion.rst:246 |
361 | 387 | msgid "Return the uppercase equivalent of the character *c*." |
362 | 388 | msgstr "" |
0 commit comments