88msgstr ""
99"Project-Id-Version :Python 3.10\n "
1010"Report-Msgid-Bugs-To :\n "
11- "POT-Creation-Date :2021-10-26 16:47 +0000\n "
11+ "POT-Creation-Date :2021-12-14 00:10 +0000\n "
1212"PO-Revision-Date :2018-05-23 14:37+0000\n "
1313"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
1414"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -197,11 +197,11 @@ msgstr ""
197197msgid "Replaces deprecated :mod:`unittest` method names with the correct ones."
198198msgstr ""
199199
200- #: ../../library/2to3.rst:162 ../../library/2to3.rst:350
200+ #: ../../library/2to3.rst:162 ../../library/2to3.rst:351
201201msgid "From"
202202msgstr "從"
203203
204- #: ../../library/2to3.rst:162 ../../library/2to3.rst:350
204+ #: ../../library/2to3.rst:162 ../../library/2to3.rst:351
205205msgid "To"
206206msgstr "到"
207207
@@ -438,187 +438,189 @@ msgid ""
438438msgstr ""
439439
440440#: ../../library/2to3.rst:336
441- msgid "Renames :meth:`__nonzero__` to :meth:`~object.__bool__`."
441+ msgid ""
442+ "Renames definitions of methods called :meth:`__nonzero__` to :meth:`~object."
443+ "__bool__`."
442444msgstr ""
443445
444- #: ../../library/2to3.rst:340
446+ #: ../../library/2to3.rst:341
445447msgid "Converts octal literals into the new syntax."
446448msgstr ""
447449
448- #: ../../library/2to3.rst:344
450+ #: ../../library/2to3.rst:345
449451msgid ""
450452"Converts calls to various functions in the :mod:`operator` module to other, "
451453"but equivalent, function calls. When needed, the appropriate ``import`` "
452454"statements are added, e.g. ``import collections.abc``. The following "
453455"mapping are made:"
454456msgstr ""
455457
456- #: ../../library/2to3.rst:352
458+ #: ../../library/2to3.rst:353
457459msgid "``operator.isCallable(obj)``"
458460msgstr "``operator.isCallable(obj)``"
459461
460- #: ../../library/2to3.rst:352
462+ #: ../../library/2to3.rst:353
461463msgid "``callable(obj)``"
462464msgstr "``callable(obj)``"
463465
464- #: ../../library/2to3.rst:353
466+ #: ../../library/2to3.rst:354
465467msgid "``operator.sequenceIncludes(obj)``"
466468msgstr "``operator.sequenceIncludes(obj)``"
467469
468- #: ../../library/2to3.rst:353
470+ #: ../../library/2to3.rst:354
469471msgid "``operator.contains(obj)``"
470472msgstr "``operator.contains(obj)``"
471473
472- #: ../../library/2to3.rst:354
474+ #: ../../library/2to3.rst:355
473475msgid "``operator.isSequenceType(obj)``"
474476msgstr "``operator.isSequenceType(obj)``"
475477
476- #: ../../library/2to3.rst:354
478+ #: ../../library/2to3.rst:355
477479msgid "``isinstance(obj, collections.abc.Sequence)``"
478480msgstr "``isinstance(obj, collections.abc.Sequence)``"
479481
480- #: ../../library/2to3.rst:355
482+ #: ../../library/2to3.rst:356
481483msgid "``operator.isMappingType(obj)``"
482484msgstr "``operator.isMappingType(obj)``"
483485
484- #: ../../library/2to3.rst:355
486+ #: ../../library/2to3.rst:356
485487msgid "``isinstance(obj, collections.abc.Mapping)``"
486488msgstr "``isinstance(obj, collections.abc.Mapping)``"
487489
488- #: ../../library/2to3.rst:356
490+ #: ../../library/2to3.rst:357
489491msgid "``operator.isNumberType(obj)``"
490492msgstr "``operator.isNumberType(obj)``"
491493
492- #: ../../library/2to3.rst:356
494+ #: ../../library/2to3.rst:357
493495msgid "``isinstance(obj, numbers.Number)``"
494496msgstr "``isinstance(obj, numbers.Number)``"
495497
496- #: ../../library/2to3.rst:357
498+ #: ../../library/2to3.rst:358
497499msgid "``operator.repeat(obj, n)``"
498500msgstr "``operator.repeat(obj, n)``"
499501
500- #: ../../library/2to3.rst:357
502+ #: ../../library/2to3.rst:358
501503msgid "``operator.mul(obj, n)``"
502504msgstr "``operator.mul(obj, n)``"
503505
504- #: ../../library/2to3.rst:358
506+ #: ../../library/2to3.rst:359
505507msgid "``operator.irepeat(obj, n)``"
506508msgstr "``operator.irepeat(obj, n)``"
507509
508- #: ../../library/2to3.rst:358
510+ #: ../../library/2to3.rst:359
509511msgid "``operator.imul(obj, n)``"
510512msgstr "``operator.imul(obj, n)``"
511513
512- #: ../../library/2to3.rst:363
514+ #: ../../library/2to3.rst:364
513515msgid ""
514516"Add extra parenthesis where they are required in list comprehensions. For "
515517"example, ``[x for x in 1, 2]`` becomes ``[x for x in (1, 2)]``."
516518msgstr ""
517519
518- #: ../../library/2to3.rst:368
520+ #: ../../library/2to3.rst:369
519521msgid "Converts the ``print`` statement to the :func:`print` function."
520522msgstr ""
521523
522- #: ../../library/2to3.rst:372
524+ #: ../../library/2to3.rst:373
523525msgid ""
524526"Converts ``raise E, V`` to ``raise E(V)``, and ``raise E, V, T`` to ``raise "
525527"E(V).with_traceback(T)``. If ``E`` is a tuple, the translation will be "
526528"incorrect because substituting tuples for exceptions has been removed in 3.0."
527529msgstr ""
528530
529- #: ../../library/2to3.rst:378
531+ #: ../../library/2to3.rst:379
530532msgid "Converts :func:`raw_input` to :func:`input`."
531533msgstr ""
532534
533- #: ../../library/2to3.rst:382
535+ #: ../../library/2to3.rst:383
534536msgid "Handles the move of :func:`reduce` to :func:`functools.reduce`."
535537msgstr ""
536538
537- #: ../../library/2to3.rst:386
539+ #: ../../library/2to3.rst:387
538540msgid "Converts :func:`reload` to :func:`importlib.reload`."
539541msgstr ""
540542
541- #: ../../library/2to3.rst:390
543+ #: ../../library/2to3.rst:391
542544msgid "Changes :data:`sys.maxint` to :data:`sys.maxsize`."
543545msgstr ""
544546
545- #: ../../library/2to3.rst:394
547+ #: ../../library/2to3.rst:395
546548msgid "Replaces backtick repr with the :func:`repr` function."
547549msgstr ""
548550
549- #: ../../library/2to3.rst:398
551+ #: ../../library/2to3.rst:399
550552msgid ""
551553"Replaces use of the :class:`set` constructor with set literals. This fixer "
552554"is optional."
553555msgstr ""
554556
555- #: ../../library/2to3.rst:403
557+ #: ../../library/2to3.rst:404
556558msgid "Renames :exc:`StandardError` to :exc:`Exception`."
557559msgstr ""
558560
559- #: ../../library/2to3.rst:407
561+ #: ../../library/2to3.rst:408
560562msgid ""
561563"Changes the deprecated :data:`sys.exc_value`, :data:`sys.exc_type`, :data:"
562564"`sys.exc_traceback` to use :func:`sys.exc_info`."
563565msgstr ""
564566
565- #: ../../library/2to3.rst:412
567+ #: ../../library/2to3.rst:413
566568msgid "Fixes the API change in generator's :meth:`throw` method."
567569msgstr ""
568570
569- #: ../../library/2to3.rst:416
571+ #: ../../library/2to3.rst:417
570572msgid ""
571573"Removes implicit tuple parameter unpacking. This fixer inserts temporary "
572574"variables."
573575msgstr ""
574576
575- #: ../../library/2to3.rst:421
577+ #: ../../library/2to3.rst:422
576578msgid ""
577579"Fixes code broken from the removal of some members in the :mod:`types` "
578580"module."
579581msgstr ""
580582
581- #: ../../library/2to3.rst:426
583+ #: ../../library/2to3.rst:427
582584msgid "Renames :class:`unicode` to :class:`str`."
583585msgstr ""
584586
585- #: ../../library/2to3.rst:430
587+ #: ../../library/2to3.rst:431
586588msgid ""
587589"Handles the rename of :mod:`urllib` and :mod:`urllib2` to the :mod:`urllib` "
588590"package."
589591msgstr ""
590592
591- #: ../../library/2to3.rst:435
593+ #: ../../library/2to3.rst:436
592594msgid ""
593595"Removes excess whitespace from comma separated items. This fixer is "
594596"optional."
595597msgstr ""
596598
597- #: ../../library/2to3.rst:440
599+ #: ../../library/2to3.rst:441
598600msgid ""
599601"Renames :func:`xrange` to :func:`range` and wraps existing :func:`range` "
600602"calls with :class:`list`."
601603msgstr ""
602604
603- #: ../../library/2to3.rst:445
605+ #: ../../library/2to3.rst:446
604606msgid "Changes ``for x in file.xreadlines()`` to ``for x in file``."
605607msgstr ""
606608
607- #: ../../library/2to3.rst:449
609+ #: ../../library/2to3.rst:450
608610msgid ""
609611"Wraps :func:`zip` usage in a :class:`list` call. This is disabled when "
610612"``from future_builtins import zip`` appears."
611613msgstr ""
612614
613- #: ../../library/2to3.rst:454
615+ #: ../../library/2to3.rst:455
614616msgid ":mod:`lib2to3` - 2to3's library"
615617msgstr ""
616618
617- #: ../../library/2to3.rst:463
619+ #: ../../library/2to3.rst:464
618620msgid "**Source code:** :source:`Lib/lib2to3/`"
619621msgstr "**原始碼:**\\ :source:`Lib/lib2to3/`"
620622
621- #: ../../library/2to3.rst:476
623+ #: ../../library/2to3.rst:477
622624msgid ""
623625"Python 3.9 switched to a PEG parser (see :pep:`617`) while lib2to3 is using "
624626"a less flexible LL(1) parser. Python 3.10 includes new language syntax that "
@@ -630,7 +632,7 @@ msgid ""
630632"or `parso`_."
631633msgstr ""
632634
633- #: ../../library/2to3.rst:479
635+ #: ../../library/2to3.rst:480
634636msgid ""
635637"The :mod:`lib2to3` API should be considered unstable and may change "
636638"drastically in the future."