77msgstr ""
88"Project-Id-Version :Python 3.12\n "
99"Report-Msgid-Bugs-To :\n "
10- "POT-Creation-Date :2024-05-09 00:03+0000\n "
10+ "POT-Creation-Date :2024-05-14 00:03+0000\n "
1111"PO-Revision-Date :2018-05-23 16:02+0000\n "
1212"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
1313"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -551,20 +551,20 @@ msgid ""
551551"corresponding attributes from the original function. The default values for "
552552"these arguments are the module level constants ``WRAPPER_ASSIGNMENTS`` "
553553"(which assigns to the wrapper function's ``__module__``, ``__name__``, "
554- "``__qualname__``, ``__annotations__`` and ``__doc__``, the documentation "
555- "string) and ``WRAPPER_UPDATES`` (which updates the wrapper function's "
556- "``__dict__``, i.e. the instance dictionary)."
554+ "``__qualname__``, ``__annotations__``, ``__type_params__``, and ``__doc__``, "
555+ "the documentation string) and ``WRAPPER_UPDATES`` (which updates the wrapper "
556+ "function's ``__dict__``, i.e. the instance dictionary)."
557557msgstr ""
558558
559- #: ../../library/functools.rst:651
559+ #: ../../library/functools.rst:652
560560msgid ""
561561"To allow access to the original function for introspection and other "
562562"purposes (e.g. bypassing a caching decorator such as :func:`lru_cache`), "
563563"this function automatically adds a ``__wrapped__`` attribute to the wrapper "
564564"that refers to the function being wrapped."
565565msgstr ""
566566
567- #: ../../library/functools.rst:656
567+ #: ../../library/functools.rst:657
568568msgid ""
569569"The main intended use for this function is in :term:`decorator` functions "
570570"which wrap the decorated function and return the wrapper. If the wrapper "
@@ -573,7 +573,7 @@ msgid ""
573573"is typically less than helpful."
574574msgstr ""
575575
576- #: ../../library/functools.rst:662
576+ #: ../../library/functools.rst:663
577577msgid ""
578578":func:`update_wrapper` may be used with callables other than functions. Any "
579579"attributes named in *assigned* or *updated* that are missing from the object "
@@ -582,64 +582,68 @@ msgid ""
582582"wrapper function itself is missing any attributes named in *updated*."
583583msgstr ""
584584
585- #: ../../library/functools.rst:668
585+ #: ../../library/functools.rst:669
586586msgid ""
587587"The ``__wrapped__`` attribute is now automatically added. The "
588588"``__annotations__`` attribute is now copied by default. Missing attributes "
589589"no longer trigger an :exc:`AttributeError`."
590590msgstr ""
591591
592- #: ../../library/functools.rst:673
592+ #: ../../library/functools.rst:674
593593msgid ""
594594"The ``__wrapped__`` attribute now always refers to the wrapped function, "
595595"even if that function defined a ``__wrapped__`` attribute. (see :issue:"
596596"`17482`)"
597597msgstr ""
598598
599- #: ../../library/functools.rst:681
599+ #: ../../library/functools.rst:679
600+ msgid "The ``__type_params__`` attribute is now copied by default."
601+ msgstr ""
602+
603+ #: ../../library/functools.rst:685
600604msgid ""
601605"This is a convenience function for invoking :func:`update_wrapper` as a "
602606"function decorator when defining a wrapper function. It is equivalent to "
603607"``partial(update_wrapper, wrapped=wrapped, assigned=assigned, "
604608"updated=updated)``. For example::"
605609msgstr ""
606610
607- #: ../../library/functools.rst:707
611+ #: ../../library/functools.rst:711
608612msgid ""
609613"Without the use of this decorator factory, the name of the example function "
610614"would have been ``'wrapper'``, and the docstring of the original :func:"
611615"`example` would have been lost."
612616msgstr ""
613617
614- #: ../../library/functools.rst:715
618+ #: ../../library/functools.rst:719
615619msgid ":class:`partial` Objects"
616620msgstr ":class:`partial` 物件"
617621
618- #: ../../library/functools.rst:717
622+ #: ../../library/functools.rst:721
619623msgid ""
620624":class:`partial` objects are callable objects created by :func:`partial`. "
621625"They have three read-only attributes:"
622626msgstr ""
623627
624- #: ../../library/functools.rst:723
628+ #: ../../library/functools.rst:727
625629msgid ""
626630"A callable object or function. Calls to the :class:`partial` object will be "
627631"forwarded to :attr:`func` with new arguments and keywords."
628632msgstr ""
629633
630- #: ../../library/functools.rst:729
634+ #: ../../library/functools.rst:733
631635msgid ""
632636"The leftmost positional arguments that will be prepended to the positional "
633637"arguments provided to a :class:`partial` object call."
634638msgstr ""
635639
636- #: ../../library/functools.rst:735
640+ #: ../../library/functools.rst:739
637641msgid ""
638642"The keyword arguments that will be supplied when the :class:`partial` object "
639643"is called."
640644msgstr ""
641645
642- #: ../../library/functools.rst:738
646+ #: ../../library/functools.rst:742
643647msgid ""
644648":class:`partial` objects are like :class:`function` objects in that they are "
645649"callable, weak referenceable, and can have attributes. There are some "