7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.10\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2021-09-13 00:11 +0000\n "
10
+ "POT-Creation-Date : 2022-01-05 00:10 +0000\n "
11
11
"PO-Revision-Date : 2018-05-23 14:41+0000\n "
12
12
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -56,7 +56,7 @@ msgstr ""
56
56
57
57
#: ../../library/concurrent.futures.rst:33
58
58
msgid ""
59
- "Schedules the callable, *fn*, to be executed as ``fn(*args **kwargs)`` and "
59
+ "Schedules the callable, *fn*, to be executed as ``fn(*args, **kwargs)`` and "
60
60
"returns a :class:`Future` object representing the execution of the "
61
61
"callable. ::"
62
62
msgstr ""
@@ -455,62 +455,63 @@ msgstr "模組函式"
455
455
#: ../../library/concurrent.futures.rst:437
456
456
msgid ""
457
457
"Wait for the :class:`Future` instances (possibly created by different :class:"
458
- "`Executor` instances) given by *fs* to complete. Returns a named 2-tuple of "
458
+ "`Executor` instances) given by *fs* to complete. Duplicate futures given to "
459
+ "*fs* are removed and will be returned only once. Returns a named 2-tuple of "
459
460
"sets. The first set, named ``done``, contains the futures that completed "
460
461
"(finished or cancelled futures) before the wait completed. The second set, "
461
462
"named ``not_done``, contains the futures that did not complete (pending or "
462
463
"running futures)."
463
464
msgstr ""
464
465
465
- #: ../../library/concurrent.futures.rst:444
466
+ #: ../../library/concurrent.futures.rst:445
466
467
msgid ""
467
468
"*timeout* can be used to control the maximum number of seconds to wait "
468
469
"before returning. *timeout* can be an int or float. If *timeout* is not "
469
470
"specified or ``None``, there is no limit to the wait time."
470
471
msgstr ""
471
472
472
- #: ../../library/concurrent.futures.rst:448
473
+ #: ../../library/concurrent.futures.rst:449
473
474
msgid ""
474
475
"*return_when* indicates when this function should return. It must be one of "
475
476
"the following constants:"
476
477
msgstr ""
477
478
478
- #: ../../library/concurrent.futures.rst:454
479
+ #: ../../library/concurrent.futures.rst:455
479
480
msgid "Constant"
480
481
msgstr "常數"
481
482
482
- #: ../../library/concurrent.futures.rst:454
483
+ #: ../../library/concurrent.futures.rst:455
483
484
msgid "Description"
484
485
msgstr "描述"
485
486
486
- #: ../../library/concurrent.futures.rst:456
487
+ #: ../../library/concurrent.futures.rst:457
487
488
msgid ":const:`FIRST_COMPLETED`"
488
489
msgstr ":const:`FIRST_COMPLETED`"
489
490
490
- #: ../../library/concurrent.futures.rst:456
491
+ #: ../../library/concurrent.futures.rst:457
491
492
msgid "The function will return when any future finishes or is cancelled."
492
493
msgstr ""
493
494
494
- #: ../../library/concurrent.futures.rst:459
495
+ #: ../../library/concurrent.futures.rst:460
495
496
msgid ":const:`FIRST_EXCEPTION`"
496
497
msgstr ":const:`FIRST_EXCEPTION`"
497
498
498
- #: ../../library/concurrent.futures.rst:459
499
+ #: ../../library/concurrent.futures.rst:460
499
500
msgid ""
500
501
"The function will return when any future finishes by raising an exception. "
501
502
"If no future raises an exception then it is equivalent to :const:"
502
503
"`ALL_COMPLETED`."
503
504
msgstr ""
504
505
505
- #: ../../library/concurrent.futures.rst:465
506
+ #: ../../library/concurrent.futures.rst:466
506
507
msgid ":const:`ALL_COMPLETED`"
507
508
msgstr ":const:`ALL_COMPLETED`"
508
509
509
- #: ../../library/concurrent.futures.rst:465
510
+ #: ../../library/concurrent.futures.rst:466
510
511
msgid "The function will return when all futures finish or are cancelled."
511
512
msgstr ""
512
513
513
- #: ../../library/concurrent.futures.rst:471
514
+ #: ../../library/concurrent.futures.rst:472
514
515
msgid ""
515
516
"Returns an iterator over the :class:`Future` instances (possibly created by "
516
517
"different :class:`Executor` instances) given by *fs* that yields futures as "
@@ -524,49 +525,49 @@ msgid ""
524
525
"wait time."
525
526
msgstr ""
526
527
527
- #: ../../library/concurrent.futures.rst:485
528
+ #: ../../library/concurrent.futures.rst:486
528
529
msgid ":pep:`3148` -- futures - execute computations asynchronously"
529
530
msgstr ""
530
531
531
- #: ../../library/concurrent.futures.rst:485
532
+ #: ../../library/concurrent.futures.rst:486
532
533
msgid ""
533
534
"The proposal which described this feature for inclusion in the Python "
534
535
"standard library."
535
536
msgstr ""
536
537
537
- #: ../../library/concurrent.futures.rst:490
538
+ #: ../../library/concurrent.futures.rst:491
538
539
msgid "Exception classes"
539
540
msgstr ""
540
541
541
- #: ../../library/concurrent.futures.rst:496
542
+ #: ../../library/concurrent.futures.rst:497
542
543
msgid "Raised when a future is cancelled."
543
544
msgstr ""
544
545
545
- #: ../../library/concurrent.futures.rst:500
546
+ #: ../../library/concurrent.futures.rst:501
546
547
msgid "Raised when a future operation exceeds the given timeout."
547
548
msgstr ""
548
549
549
- #: ../../library/concurrent.futures.rst:504
550
+ #: ../../library/concurrent.futures.rst:505
550
551
msgid ""
551
552
"Derived from :exc:`RuntimeError`, this exception class is raised when an "
552
553
"executor is broken for some reason, and cannot be used to submit or execute "
553
554
"new tasks."
554
555
msgstr ""
555
556
556
- #: ../../library/concurrent.futures.rst:512
557
+ #: ../../library/concurrent.futures.rst:513
557
558
msgid ""
558
559
"Raised when an operation is performed on a future that is not allowed in the "
559
560
"current state."
560
561
msgstr ""
561
562
562
- #: ../../library/concurrent.futures.rst:521
563
+ #: ../../library/concurrent.futures.rst:522
563
564
msgid ""
564
565
"Derived from :exc:`~concurrent.futures.BrokenExecutor`, this exception class "
565
566
"is raised when one of the workers of a :class:`ThreadPoolExecutor` has "
566
567
"failed initializing."
567
568
msgstr ""
568
569
569
- #: ../../library/concurrent.futures.rst:531
570
+ #: ../../library/concurrent.futures.rst:532
570
571
msgid ""
571
572
"Derived from :exc:`~concurrent.futures.BrokenExecutor` (formerly :exc:"
572
573
"`RuntimeError`), this exception class is raised when one of the workers of "
0 commit comments