6
6
msgstr ""
7
7
"Project-Id-Version :Python 3.13\n "
8
8
"Report-Msgid-Bugs-To :\n "
9
- "POT-Creation-Date :2024-09-30 09:19 +0000\n "
9
+ "POT-Creation-Date :2024-11-11 06:16 +0000\n "
10
10
"PO-Revision-Date :2024-07-11 11:12+0800\n "
11
11
"Last-Translator :Li-Hung Wang <therockleona@gmail.com>\n "
12
12
"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -2788,13 +2788,14 @@ msgstr ""
2788
2788
2789
2789
#: ../../library/typing.rst:1729
2790
2790
msgid ""
2791
- "This syntax can also be used to create bound and constrained type variables::"
2791
+ "This syntax can also be used to create bounded and constrained type "
2792
+ "variables::"
2792
2793
msgstr ""
2793
2794
2794
2795
#: ../../library/typing.rst:1732
2795
2796
msgid ""
2796
- "class StrSequence[S: str]: # S is a TypeVarbound to str\n"
2797
- " ...\n"
2797
+ "class StrSequence[S: str]: # S is a TypeVarwith a ` str` upper bound; \n"
2798
+ " ... # we can say that S is \" bounded by `str` \" \n"
2798
2799
"\n"
2799
2800
"\n"
2800
2801
"class StrOrBytesSequence[A: (str, bytes)]: # A is a TypeVar constrained to "
@@ -2843,8 +2844,8 @@ msgstr ""
2843
2844
2844
2845
#: ../../library/typing.rst:1766
2845
2846
msgid ""
2846
- "Note that type variables can be *bound *, *constrained*, or neither, but "
2847
- "cannot be bothbound *and* constrained."
2847
+ "Note that type variables can be *bounded *, *constrained*, or neither, but "
2848
+ "cannot be bothbounded *and* constrained."
2848
2849
msgstr ""
2849
2850
2850
2851
#: ../../library/typing.rst:1769
@@ -2859,9 +2860,9 @@ msgstr ""
2859
2860
2860
2861
#: ../../library/typing.rst:1777
2861
2862
msgid ""
2862
- "Bound type variables and constrained type variables have different semantics "
2863
- "in several important ways. Using a *bound * type variable means that the "
2864
- "``TypeVar`` will be solved using the most specific type possible::"
2863
+ "Bounded type variables and constrained type variables have different "
2864
+ "semantics in several important ways. Using a *bounded * type variable means "
2865
+ "that the ``TypeVar`` will be solved using the most specific type possible::"
2865
2866
msgstr ""
2866
2867
2867
2868
#: ../../library/typing.rst:1781
@@ -2880,8 +2881,8 @@ msgstr ""
2880
2881
2881
2882
#: ../../library/typing.rst:1792
2882
2883
msgid ""
2883
- "Type variables can bebound to concretetypes , abstracttypes (ABCs or "
2884
- "protocols ),and evenunions of types::"
2884
+ "The upper bound of a type variable can bea concretetype , abstracttype "
2885
+ "(ABC or Protocol ),or evena union of types::"
2885
2886
msgstr ""
2886
2887
2887
2888
#: ../../library/typing.rst:1795
@@ -2936,7 +2937,7 @@ msgid ""
2936
2937
msgstr ""
2937
2938
2938
2939
#: ../../library/typing.rst:1837
2939
- msgid "The bound of the type variable, if any."
2940
+ msgid "Theupper bound of the type variable, if any."
2940
2941
msgstr ""
2941
2942
2942
2943
#: ../../library/typing.rst:1841
@@ -3249,8 +3250,8 @@ msgstr ""
3249
3250
#: ../../library/typing.rst:2062
3250
3251
msgid ""
3251
3252
"Without ``ParamSpec``, the simplest way to annotate this previously was to "
3252
- "use a :class:`TypeVar` with bound ``Callable[..., Any]``. However this "
3253
- "causes two problems:"
3253
+ "use a :class:`TypeVar` withupper bound ``Callable[..., Any]``. However "
3254
+ "this causes two problems:"
3254
3255
msgstr ""
3255
3256
3256
3257
#: ../../library/typing.rst:2066