66msgstr ""
77"Project-Id-Version : Python 3.14\n "
88"Report-Msgid-Bugs-To : \n "
9- "POT-Creation-Date : 2025-06-27 07:36 +0000\n "
9+ "POT-Creation-Date : 2025-09-22 00:18 +0000\n "
1010"PO-Revision-Date : 2018-05-23 16:06+0000\n "
1111"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
1212"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -299,12 +299,12 @@ msgid ""
299299"``-1`` on failure."
300300msgstr ""
301301
302- #: ../../library/mmap.rst:199 ../../library/mmap.rst:291
303- #: ../../library/mmap.rst:331
302+ #: ../../library/mmap.rst:199 ../../library/mmap.rst:292
303+ #: ../../library/mmap.rst:332
304304msgid "Writable :term:`bytes-like object` is now accepted."
305305msgstr ""
306306
307- #: ../../library/mmap.rst:205
307+ #: ../../library/mmap.rst:206
308308msgid ""
309309"Flushes changes made to the in-memory copy of a file back to disk. Without "
310310"use of this call there is no guarantee that changes are written back before "
@@ -314,20 +314,20 @@ msgid ""
314314"`PAGESIZE` or :const:`ALLOCATIONGRANULARITY`."
315315msgstr ""
316316
317- #: ../../library/mmap.rst:212
317+ #: ../../library/mmap.rst:213
318318msgid ""
319319"``None`` is returned to indicate success. An exception is raised when the "
320320"call failed."
321321msgstr ""
322322
323- #: ../../library/mmap.rst:215
323+ #: ../../library/mmap.rst:216
324324msgid ""
325325"Previously, a nonzero value was returned on success; zero was returned on "
326326"error under Windows. A zero value was returned on success; an exception was "
327327"raised on error under Unix."
328328msgstr ""
329329
330- #: ../../library/mmap.rst:223
330+ #: ../../library/mmap.rst:224
331331msgid ""
332332"Send advice *option* to the kernel about the memory region beginning at "
333333"*start* and extending *length* bytes. *option* must be one of the :ref:"
@@ -336,105 +336,105 @@ msgid ""
336336"(including Linux), *start* must be a multiple of the :const:`PAGESIZE`."
337337msgstr ""
338338
339- #: ../../library/mmap.rst:230
339+ #: ../../library/mmap.rst:231
340340msgid "Availability: Systems with the ``madvise()`` system call."
341341msgstr ""
342342
343- #: ../../library/mmap.rst:237
343+ #: ../../library/mmap.rst:238
344344msgid ""
345345"Copy the *count* bytes starting at offset *src* to the destination index "
346346"*dest*. If the mmap was created with :const:`ACCESS_READ`, then calls to "
347347"move will raise a :exc:`TypeError` exception."
348348msgstr ""
349349
350- #: ../../library/mmap.rst:244
350+ #: ../../library/mmap.rst:245
351351msgid ""
352352"Return a :class:`bytes` containing up to *n* bytes starting from the current "
353353"file position. If the argument is omitted, ``None`` or negative, return all "
354354"bytes from the current file position to the end of the mapping. The file "
355355"position is updated to point after the bytes that were returned."
356356msgstr ""
357357
358- #: ../../library/mmap.rst:250
358+ #: ../../library/mmap.rst:251
359359msgid "Argument can be omitted or ``None``."
360360msgstr ""
361361
362- #: ../../library/mmap.rst:255
362+ #: ../../library/mmap.rst:256
363363msgid ""
364364"Returns a byte at the current file position as an integer, and advances the "
365365"file position by 1."
366366msgstr ""
367367
368- #: ../../library/mmap.rst:261
368+ #: ../../library/mmap.rst:262
369369msgid ""
370370"Returns a single line, starting at the current file position and up to the "
371371"next newline. The file position is updated to point after the bytes that "
372372"were returned."
373373msgstr ""
374374
375- #: ../../library/mmap.rst:268
375+ #: ../../library/mmap.rst:269
376376msgid "Resizes the map and the underlying file, if any."
377377msgstr ""
378378
379- #: ../../library/mmap.rst:270
379+ #: ../../library/mmap.rst:271
380380msgid ""
381381"Resizing a map created with *access* of :const:`ACCESS_READ` or :const:"
382382"`ACCESS_COPY`, will raise a :exc:`TypeError` exception. Resizing a map "
383383"created with *trackfd* set to ``False``, will raise a :exc:`ValueError` "
384384"exception."
385385msgstr ""
386386
387- #: ../../library/mmap.rst:275
387+ #: ../../library/mmap.rst:276
388388msgid ""
389389"**On Windows**: Resizing the map will raise an :exc:`OSError` if there are "
390390"other maps against the same named file. Resizing an anonymous map (ie "
391391"against the pagefile) will silently create a new map with the original data "
392392"copied over up to the length of the new size."
393393msgstr ""
394394
395- #: ../../library/mmap.rst:280
395+ #: ../../library/mmap.rst:281
396396msgid ""
397397"Correctly fails if attempting to resize when another map is held Allows "
398398"resize against an anonymous map on Windows"
399399msgstr ""
400400
401- #: ../../library/mmap.rst:286
401+ #: ../../library/mmap.rst:287
402402msgid ""
403403"Returns the highest index in the object where the subsequence *sub* is "
404404"found, such that *sub* is contained in the range [*start*, *end*]. Optional "
405405"arguments *start* and *end* are interpreted as in slice notation. Returns "
406406"``-1`` on failure."
407407msgstr ""
408408
409- #: ../../library/mmap.rst:297
409+ #: ../../library/mmap.rst:298
410410msgid ""
411411"Set the file's current position. *whence* argument is optional and defaults "
412412"to ``os.SEEK_SET`` or ``0`` (absolute file positioning); other values are "
413413"``os.SEEK_CUR`` or ``1`` (seek relative to the current position) and ``os."
414414"SEEK_END`` or ``2`` (seek relative to the file's end)."
415415msgstr ""
416416
417- #: ../../library/mmap.rst:302
417+ #: ../../library/mmap.rst:303
418418msgid "Return the new absolute position instead of ``None``."
419419msgstr ""
420420
421- #: ../../library/mmap.rst:307
421+ #: ../../library/mmap.rst:308
422422msgid ""
423423"Return whether the file supports seeking, and the return value is always "
424424"``True``."
425425msgstr ""
426426
427- #: ../../library/mmap.rst:313
427+ #: ../../library/mmap.rst:314
428428msgid ""
429429"Return the length of the file, which can be larger than the size of the "
430430"memory-mapped area."
431431msgstr ""
432432
433- #: ../../library/mmap.rst:319
433+ #: ../../library/mmap.rst:320
434434msgid "Returns the current position of the file pointer."
435435msgstr ""
436436
437- #: ../../library/mmap.rst:324
437+ #: ../../library/mmap.rst:325
438438msgid ""
439439"Write the bytes in *bytes* into memory at the current position of the file "
440440"pointer and return the number of bytes written (never less than "
@@ -444,57 +444,57 @@ msgid ""
444444"it will raise a :exc:`TypeError` exception."
445445msgstr ""
446446
447- #: ../../library/mmap.rst:334
447+ #: ../../library/mmap.rst:335
448448msgid "The number of bytes written is now returned."
449449msgstr ""
450450
451- #: ../../library/mmap.rst:340
451+ #: ../../library/mmap.rst:341
452452msgid ""
453453"Write the integer *byte* into memory at the current position of the file "
454454"pointer; the file position is advanced by ``1``. If the mmap was created "
455455"with :const:`ACCESS_READ`, then writing to it will raise a :exc:`TypeError` "
456456"exception."
457457msgstr ""
458458
459- #: ../../library/mmap.rst:348
459+ #: ../../library/mmap.rst:349
460460msgid "MADV_* Constants"
461461msgstr "MADV_* 常數"
462462
463- #: ../../library/mmap.rst:375
463+ #: ../../library/mmap.rst:376
464464msgid ""
465465"These options can be passed to :meth:`mmap.madvise`. Not every option will "
466466"be present on every system."
467467msgstr ""
468468
469- #: ../../library/mmap.rst:378
469+ #: ../../library/mmap.rst:379
470470msgid "Availability: Systems with the madvise() system call."
471471msgstr ""
472472
473- #: ../../library/mmap.rst:385
473+ #: ../../library/mmap.rst:386
474474msgid "MAP_* Constants"
475475msgstr "MAP_* 常數"
476476
477- #: ../../library/mmap.rst:409
477+ #: ../../library/mmap.rst:410
478478msgid ""
479479"These are the various flags that can be passed to :meth:`mmap.mmap`. :data:"
480480"`MAP_ALIGNED_SUPER` is only available at FreeBSD and :data:`MAP_CONCEAL` is "
481481"only available at OpenBSD. Note that some options might not be present on "
482482"some systems."
483483msgstr ""
484484
485- #: ../../library/mmap.rst:413
485+ #: ../../library/mmap.rst:414
486486msgid "Added :data:`MAP_POPULATE` constant."
487487msgstr "新增 :data:`MAP_POPULATE` 常數。"
488488
489- #: ../../library/mmap.rst:416
489+ #: ../../library/mmap.rst:417
490490msgid "Added :data:`MAP_STACK` constant."
491491msgstr "新增 :data:`MAP_STACK` 常數。"
492492
493- #: ../../library/mmap.rst:419
493+ #: ../../library/mmap.rst:420
494494msgid "Added :data:`MAP_ALIGNED_SUPER` and :data:`MAP_CONCEAL` constants."
495495msgstr "新增 :data:`MAP_ALIGNED_SUPER` 和 :data:`MAP_CONCEAL` 常數。"
496496
497- #: ../../library/mmap.rst:422
497+ #: ../../library/mmap.rst:423
498498msgid ""
499499"Added :data:`MAP_32BIT`, :data:`MAP_HASSEMAPHORE`, :data:`MAP_JIT`, :data:"
500500"`MAP_NOCACHE`, :data:`MAP_NOEXTEND`, :data:`MAP_NORESERVE`, :data:"
0 commit comments