6
6
msgstr ""
7
7
"Project-Id-Version : Python 3.14\n "
8
8
"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 "
10
10
"PO-Revision-Date : 2018-05-23 16:06+0000\n "
11
11
"
Last-Translator :
Adrian Liaw <[email protected] >\n "
12
12
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -299,12 +299,12 @@ msgid ""
299
299
"``-1`` on failure."
300
300
msgstr ""
301
301
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
304
304
msgid "Writable :term:`bytes-like object` is now accepted."
305
305
msgstr ""
306
306
307
- #: ../../library/mmap.rst:205
307
+ #: ../../library/mmap.rst:206
308
308
msgid ""
309
309
"Flushes changes made to the in-memory copy of a file back to disk. Without "
310
310
"use of this call there is no guarantee that changes are written back before "
@@ -314,20 +314,20 @@ msgid ""
314
314
"`PAGESIZE` or :const:`ALLOCATIONGRANULARITY`."
315
315
msgstr ""
316
316
317
- #: ../../library/mmap.rst:212
317
+ #: ../../library/mmap.rst:213
318
318
msgid ""
319
319
"``None`` is returned to indicate success. An exception is raised when the "
320
320
"call failed."
321
321
msgstr ""
322
322
323
- #: ../../library/mmap.rst:215
323
+ #: ../../library/mmap.rst:216
324
324
msgid ""
325
325
"Previously, a nonzero value was returned on success; zero was returned on "
326
326
"error under Windows. A zero value was returned on success; an exception was "
327
327
"raised on error under Unix."
328
328
msgstr ""
329
329
330
- #: ../../library/mmap.rst:223
330
+ #: ../../library/mmap.rst:224
331
331
msgid ""
332
332
"Send advice *option* to the kernel about the memory region beginning at "
333
333
"*start* and extending *length* bytes. *option* must be one of the :ref:"
@@ -336,105 +336,105 @@ msgid ""
336
336
"(including Linux), *start* must be a multiple of the :const:`PAGESIZE`."
337
337
msgstr ""
338
338
339
- #: ../../library/mmap.rst:230
339
+ #: ../../library/mmap.rst:231
340
340
msgid "Availability: Systems with the ``madvise()`` system call."
341
341
msgstr ""
342
342
343
- #: ../../library/mmap.rst:237
343
+ #: ../../library/mmap.rst:238
344
344
msgid ""
345
345
"Copy the *count* bytes starting at offset *src* to the destination index "
346
346
"*dest*. If the mmap was created with :const:`ACCESS_READ`, then calls to "
347
347
"move will raise a :exc:`TypeError` exception."
348
348
msgstr ""
349
349
350
- #: ../../library/mmap.rst:244
350
+ #: ../../library/mmap.rst:245
351
351
msgid ""
352
352
"Return a :class:`bytes` containing up to *n* bytes starting from the current "
353
353
"file position. If the argument is omitted, ``None`` or negative, return all "
354
354
"bytes from the current file position to the end of the mapping. The file "
355
355
"position is updated to point after the bytes that were returned."
356
356
msgstr ""
357
357
358
- #: ../../library/mmap.rst:250
358
+ #: ../../library/mmap.rst:251
359
359
msgid "Argument can be omitted or ``None``."
360
360
msgstr ""
361
361
362
- #: ../../library/mmap.rst:255
362
+ #: ../../library/mmap.rst:256
363
363
msgid ""
364
364
"Returns a byte at the current file position as an integer, and advances the "
365
365
"file position by 1."
366
366
msgstr ""
367
367
368
- #: ../../library/mmap.rst:261
368
+ #: ../../library/mmap.rst:262
369
369
msgid ""
370
370
"Returns a single line, starting at the current file position and up to the "
371
371
"next newline. The file position is updated to point after the bytes that "
372
372
"were returned."
373
373
msgstr ""
374
374
375
- #: ../../library/mmap.rst:268
375
+ #: ../../library/mmap.rst:269
376
376
msgid "Resizes the map and the underlying file, if any."
377
377
msgstr ""
378
378
379
- #: ../../library/mmap.rst:270
379
+ #: ../../library/mmap.rst:271
380
380
msgid ""
381
381
"Resizing a map created with *access* of :const:`ACCESS_READ` or :const:"
382
382
"`ACCESS_COPY`, will raise a :exc:`TypeError` exception. Resizing a map "
383
383
"created with *trackfd* set to ``False``, will raise a :exc:`ValueError` "
384
384
"exception."
385
385
msgstr ""
386
386
387
- #: ../../library/mmap.rst:275
387
+ #: ../../library/mmap.rst:276
388
388
msgid ""
389
389
"**On Windows**: Resizing the map will raise an :exc:`OSError` if there are "
390
390
"other maps against the same named file. Resizing an anonymous map (ie "
391
391
"against the pagefile) will silently create a new map with the original data "
392
392
"copied over up to the length of the new size."
393
393
msgstr ""
394
394
395
- #: ../../library/mmap.rst:280
395
+ #: ../../library/mmap.rst:281
396
396
msgid ""
397
397
"Correctly fails if attempting to resize when another map is held Allows "
398
398
"resize against an anonymous map on Windows"
399
399
msgstr ""
400
400
401
- #: ../../library/mmap.rst:286
401
+ #: ../../library/mmap.rst:287
402
402
msgid ""
403
403
"Returns the highest index in the object where the subsequence *sub* is "
404
404
"found, such that *sub* is contained in the range [*start*, *end*]. Optional "
405
405
"arguments *start* and *end* are interpreted as in slice notation. Returns "
406
406
"``-1`` on failure."
407
407
msgstr ""
408
408
409
- #: ../../library/mmap.rst:297
409
+ #: ../../library/mmap.rst:298
410
410
msgid ""
411
411
"Set the file's current position. *whence* argument is optional and defaults "
412
412
"to ``os.SEEK_SET`` or ``0`` (absolute file positioning); other values are "
413
413
"``os.SEEK_CUR`` or ``1`` (seek relative to the current position) and ``os."
414
414
"SEEK_END`` or ``2`` (seek relative to the file's end)."
415
415
msgstr ""
416
416
417
- #: ../../library/mmap.rst:302
417
+ #: ../../library/mmap.rst:303
418
418
msgid "Return the new absolute position instead of ``None``."
419
419
msgstr ""
420
420
421
- #: ../../library/mmap.rst:307
421
+ #: ../../library/mmap.rst:308
422
422
msgid ""
423
423
"Return whether the file supports seeking, and the return value is always "
424
424
"``True``."
425
425
msgstr ""
426
426
427
- #: ../../library/mmap.rst:313
427
+ #: ../../library/mmap.rst:314
428
428
msgid ""
429
429
"Return the length of the file, which can be larger than the size of the "
430
430
"memory-mapped area."
431
431
msgstr ""
432
432
433
- #: ../../library/mmap.rst:319
433
+ #: ../../library/mmap.rst:320
434
434
msgid "Returns the current position of the file pointer."
435
435
msgstr ""
436
436
437
- #: ../../library/mmap.rst:324
437
+ #: ../../library/mmap.rst:325
438
438
msgid ""
439
439
"Write the bytes in *bytes* into memory at the current position of the file "
440
440
"pointer and return the number of bytes written (never less than "
@@ -444,57 +444,57 @@ msgid ""
444
444
"it will raise a :exc:`TypeError` exception."
445
445
msgstr ""
446
446
447
- #: ../../library/mmap.rst:334
447
+ #: ../../library/mmap.rst:335
448
448
msgid "The number of bytes written is now returned."
449
449
msgstr ""
450
450
451
- #: ../../library/mmap.rst:340
451
+ #: ../../library/mmap.rst:341
452
452
msgid ""
453
453
"Write the integer *byte* into memory at the current position of the file "
454
454
"pointer; the file position is advanced by ``1``. If the mmap was created "
455
455
"with :const:`ACCESS_READ`, then writing to it will raise a :exc:`TypeError` "
456
456
"exception."
457
457
msgstr ""
458
458
459
- #: ../../library/mmap.rst:348
459
+ #: ../../library/mmap.rst:349
460
460
msgid "MADV_* Constants"
461
461
msgstr "MADV_* 常數"
462
462
463
- #: ../../library/mmap.rst:375
463
+ #: ../../library/mmap.rst:376
464
464
msgid ""
465
465
"These options can be passed to :meth:`mmap.madvise`. Not every option will "
466
466
"be present on every system."
467
467
msgstr ""
468
468
469
- #: ../../library/mmap.rst:378
469
+ #: ../../library/mmap.rst:379
470
470
msgid "Availability: Systems with the madvise() system call."
471
471
msgstr ""
472
472
473
- #: ../../library/mmap.rst:385
473
+ #: ../../library/mmap.rst:386
474
474
msgid "MAP_* Constants"
475
475
msgstr "MAP_* 常數"
476
476
477
- #: ../../library/mmap.rst:409
477
+ #: ../../library/mmap.rst:410
478
478
msgid ""
479
479
"These are the various flags that can be passed to :meth:`mmap.mmap`. :data:"
480
480
"`MAP_ALIGNED_SUPER` is only available at FreeBSD and :data:`MAP_CONCEAL` is "
481
481
"only available at OpenBSD. Note that some options might not be present on "
482
482
"some systems."
483
483
msgstr ""
484
484
485
- #: ../../library/mmap.rst:413
485
+ #: ../../library/mmap.rst:414
486
486
msgid "Added :data:`MAP_POPULATE` constant."
487
487
msgstr "新增 :data:`MAP_POPULATE` 常數。"
488
488
489
- #: ../../library/mmap.rst:416
489
+ #: ../../library/mmap.rst:417
490
490
msgid "Added :data:`MAP_STACK` constant."
491
491
msgstr "新增 :data:`MAP_STACK` 常數。"
492
492
493
- #: ../../library/mmap.rst:419
493
+ #: ../../library/mmap.rst:420
494
494
msgid "Added :data:`MAP_ALIGNED_SUPER` and :data:`MAP_CONCEAL` constants."
495
495
msgstr "新增 :data:`MAP_ALIGNED_SUPER` 和 :data:`MAP_CONCEAL` 常數。"
496
496
497
- #: ../../library/mmap.rst:422
497
+ #: ../../library/mmap.rst:423
498
498
msgid ""
499
499
"Added :data:`MAP_32BIT`, :data:`MAP_HASSEMAPHORE`, :data:`MAP_JIT`, :data:"
500
500
"`MAP_NOCACHE`, :data:`MAP_NOEXTEND`, :data:`MAP_NORESERVE`, :data:"
0 commit comments