7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.11\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2022-12-25 00:32 +0000\n "
10
+ "POT-Creation-Date : 2023-01-08 00:33 +0000\n "
11
11
"PO-Revision-Date : 2018-05-23 16:14+0000\n "
12
12
"
Last-Translator :
Adrian Liaw <[email protected] >\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -337,7 +337,7 @@ msgid ""
337
337
msgstr ""
338
338
339
339
#: ../../library/typing.rst:222 ../../library/typing.rst:1164
340
- #: ../../library/typing.rst:2805
340
+ #: ../../library/typing.rst:2801
341
341
msgid "For example::"
342
342
msgstr ""
343
343
"舉例來說:\n"
@@ -2671,22 +2671,16 @@ msgstr "新增 ``include_extras`` 參數(如 :pep:`593` 中所述)。"
2671
2671
2672
2672
#: ../../library/typing.rst:2770
2673
2673
msgid ""
2674
- "Calling ``get_type_hints()`` on a class no longer returns the annotations of "
2675
- "its base classes."
2676
- msgstr ""
2677
-
2678
- #: ../../library/typing.rst:2774
2679
- msgid ""
2680
2674
"Previously, ``Optional[t]`` was added for function and method annotations if "
2681
2675
"a default value equal to ``None`` was set. Now the annotation is returned "
2682
2676
"unchanged."
2683
2677
msgstr ""
2684
2678
2685
- #: ../../library/typing.rst:2782
2679
+ #: ../../library/typing.rst:2778
2686
2680
msgid "Provide basic introspection for generic types and special typing forms."
2687
2681
msgstr ""
2688
2682
2689
- #: ../../library/typing.rst:2784
2683
+ #: ../../library/typing.rst:2780
2690
2684
msgid ""
2691
2685
"For a typing object of the form ``X[Y, Z, ...]`` these functions return "
2692
2686
"``X`` and ``(Y, Z, ...)``. If ``X`` is a generic alias for a builtin or :mod:"
@@ -2697,119 +2691,119 @@ msgid ""
2697
2691
"and ``()`` correspondingly. Examples::"
2698
2692
msgstr ""
2699
2693
2700
- #: ../../library/typing.rst:2803
2694
+ #: ../../library/typing.rst:2799
2701
2695
msgid "Check if a type is a :class:`TypedDict`."
2702
2696
msgstr ""
2703
2697
2704
- #: ../../library/typing.rst:2818
2698
+ #: ../../library/typing.rst:2814
2705
2699
msgid ""
2706
2700
"A class used for internal typing representation of string forward "
2707
2701
"references. For example, ``List[\" SomeClass\" ]`` is implicitly transformed "
2708
2702
"into ``List[ForwardRef(\" SomeClass\" )]``. This class should not be "
2709
2703
"instantiated by a user, but may be used by introspection tools."
2710
2704
msgstr ""
2711
2705
2712
- #: ../../library/typing.rst:2824
2706
+ #: ../../library/typing.rst:2820
2713
2707
msgid ""
2714
2708
":pep:`585` generic types such as ``list[\" SomeClass\" ]`` will not be "
2715
2709
"implicitly transformed into ``list[ForwardRef(\" SomeClass\" )]`` and thus "
2716
2710
"will not automatically resolve to ``list[SomeClass]``."
2717
2711
msgstr ""
2718
2712
2719
- #: ../../library/typing.rst:2831
2713
+ #: ../../library/typing.rst:2827
2720
2714
msgid "Constant"
2721
2715
msgstr "常數"
2722
2716
2723
- #: ../../library/typing.rst:2835
2717
+ #: ../../library/typing.rst:2831
2724
2718
msgid ""
2725
2719
"A special constant that is assumed to be ``True`` by 3rd party static type "
2726
2720
"checkers. It is ``False`` at runtime. Usage::"
2727
2721
msgstr ""
2728
2722
2729
- #: ../../library/typing.rst:2844
2723
+ #: ../../library/typing.rst:2840
2730
2724
msgid ""
2731
2725
"The first type annotation must be enclosed in quotes, making it a \" forward "
2732
2726
"reference\" , to hide the ``expensive_mod`` reference from the interpreter "
2733
2727
"runtime. Type annotations for local variables are not evaluated, so the "
2734
2728
"second annotation does not need to be enclosed in quotes."
2735
2729
msgstr ""
2736
2730
2737
- #: ../../library/typing.rst:2851
2731
+ #: ../../library/typing.rst:2847
2738
2732
msgid ""
2739
2733
"If ``from __future__ import annotations`` is used, annotations are not "
2740
2734
"evaluated at function definition time. Instead, they are stored as strings "
2741
2735
"in ``__annotations__``. This makes it unnecessary to use quotes around the "
2742
2736
"annotation (see :pep:`563`)."
2743
2737
msgstr ""
2744
2738
2745
- #: ../../library/typing.rst:2860
2739
+ #: ../../library/typing.rst:2856
2746
2740
msgid "Deprecation Timeline of Major Features"
2747
2741
msgstr ""
2748
2742
2749
- #: ../../library/typing.rst:2862
2743
+ #: ../../library/typing.rst:2858
2750
2744
msgid ""
2751
2745
"Certain features in ``typing`` are deprecated and may be removed in a future "
2752
2746
"version of Python. The following table summarizes major deprecations for "
2753
2747
"your convenience. This is subject to change, and not all deprecations are "
2754
2748
"listed."
2755
2749
msgstr ""
2756
2750
2757
- #: ../../library/typing.rst:2867
2751
+ #: ../../library/typing.rst:2863
2758
2752
msgid "Feature"
2759
2753
msgstr ""
2760
2754
2761
- #: ../../library/typing.rst:2867
2755
+ #: ../../library/typing.rst:2863
2762
2756
msgid "Deprecated in"
2763
2757
msgstr "棄用於"
2764
2758
2765
- #: ../../library/typing.rst:2867
2759
+ #: ../../library/typing.rst:2863
2766
2760
msgid "Projected removal"
2767
2761
msgstr ""
2768
2762
2769
- #: ../../library/typing.rst:2867
2763
+ #: ../../library/typing.rst:2863
2770
2764
msgid "PEP/issue"
2771
2765
msgstr ""
2772
2766
2773
- #: ../../library/typing.rst:2869
2767
+ #: ../../library/typing.rst:2865
2774
2768
msgid "``typing.io`` and ``typing.re`` submodules"
2775
2769
msgstr ""
2776
2770
2777
- #: ../../library/typing.rst:2869
2771
+ #: ../../library/typing.rst:2865
2778
2772
msgid "3.8"
2779
2773
msgstr "3.8"
2780
2774
2781
- #: ../../library/typing.rst:2869
2775
+ #: ../../library/typing.rst:2865
2782
2776
msgid "3.13"
2783
2777
msgstr "3.13"
2784
2778
2785
- #: ../../library/typing.rst:2869
2779
+ #: ../../library/typing.rst:2865
2786
2780
msgid ":issue:`38291`"
2787
2781
msgstr ":issue:`38291`"
2788
2782
2789
- #: ../../library/typing.rst:2872
2783
+ #: ../../library/typing.rst:2868
2790
2784
msgid "``typing`` versions of standard collections"
2791
2785
msgstr ""
2792
2786
2793
- #: ../../library/typing.rst:2872
2787
+ #: ../../library/typing.rst:2868
2794
2788
msgid "3.9"
2795
2789
msgstr "3.9"
2796
2790
2797
- #: ../../library/typing.rst:2872 ../../library/typing.rst:2875
2791
+ #: ../../library/typing.rst:2868 ../../library/typing.rst:2871
2798
2792
msgid "Undecided"
2799
2793
msgstr ""
2800
2794
2801
- #: ../../library/typing.rst:2872
2795
+ #: ../../library/typing.rst:2868
2802
2796
msgid ":pep:`585`"
2803
2797
msgstr ":pep:`585`"
2804
2798
2805
- #: ../../library/typing.rst:2875
2799
+ #: ../../library/typing.rst:2871
2806
2800
msgid "``typing.Text``"
2807
2801
msgstr "``typing.Text``"
2808
2802
2809
- #: ../../library/typing.rst:2875
2803
+ #: ../../library/typing.rst:2871
2810
2804
msgid "3.11"
2811
2805
msgstr "3.11"
2812
2806
2813
- #: ../../library/typing.rst:2875
2807
+ #: ../../library/typing.rst:2871
2814
2808
msgid ":gh:`92332`"
2815
2809
msgstr ":gh:`92332`"
0 commit comments