@@ -8,7 +8,7 @@ msgstr ""
8
8
"Project-Id-Version : Python 3.12\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
10
"POT-Creation-Date : 2023-06-27 00:19+0000\n "
11
- "PO-Revision-Date : 2023-09-04 22:12 +0800\n "
11
+ "PO-Revision-Date : 2023-09-05 14:49 +0800\n "
12
12
"Last-Translator : RockLeon <therockleona@gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
14
"tw)\n "
@@ -17,7 +17,7 @@ msgstr ""
17
17
"Content-Type : text/plain; charset=UTF-8\n "
18
18
"Content-Transfer-Encoding : 8bit\n "
19
19
"Plural-Forms : nplurals=1; plural=0;\n "
20
- "X-Generator : Poedit 3.3.2 \n "
20
+ "X-Generator : Poedit 3.3.1 \n "
21
21
22
22
#: ../../library/typing.rst:3
23
23
msgid ":mod:`typing` --- Support for type hints"
@@ -34,15 +34,15 @@ msgid ""
34
34
"etc."
35
35
msgstr ""
36
36
"Python 執行環境不強制要求函式與變數的型別註釋。他們可以被第三方工具使用,如:"
37
- "型別檢查器、IDE、Linter 等。"
37
+ "型別檢查器、IDE、linter 等。"
38
38
39
39
#: ../../library/typing.rst:26
40
40
msgid ""
41
41
"This module provides runtime support for type hints. For the original "
42
42
"specification of the typing system, see :pep:`484`. For a simplified "
43
43
"introduction to type hints, see :pep:`483`."
44
44
msgstr ""
45
- "這個模組提供執行環境可以支援型別提示 。關於型別系統的原有規格,請看 :pep:"
45
+ "這個模組提供可以支援型別提示的 runtime 。關於型別系統的原有規格,請看 :pep:"
46
46
"`484`。關於型別提示的簡易介紹,請看 :pep:`483`。"
47
47
48
48
#: ../../library/typing.rst:31
@@ -94,8 +94,8 @@ msgid ""
94
94
"\" Type System Reference\" section of `the mypy docs <https://mypy."
95
95
"readthedocs.io/en/stable/index.html>`_"
96
96
msgstr ""
97
- "`mypy 文件 <https://mypy.readthedocs.io/en/stable/index.html>`_ \\ 的 \" 型別 "
98
- "系統參照 (Type System Reference)\" 章節"
97
+ "`mypy 文件 <https://mypy.readthedocs.io/en/stable/index.html>`_\\ 的 \" 型別系 "
98
+ "統參考資料 (Type System Reference)\" 章節"
99
99
100
100
#: ../../library/typing.rst:53
101
101
msgid ""
@@ -131,7 +131,7 @@ msgid ""
131
131
"number of PEPs have modified and enhanced Python's framework for type "
132
132
"annotations:"
133
133
msgstr ""
134
- "自從 :pep:`484` 及 :pep:`483` 對於型別提示的基礎介紹 ,多個 PEPs 針對型別註釋"
134
+ "自從 :pep:`484` 及 :pep:`483` 對於型別提示的基礎引入 ,多個 PEPs 針對型別註釋"
135
135
"的 Python 框架進行修訂及加強:"
136
136
137
137
#: ../../library/typing.rst:77
@@ -142,7 +142,7 @@ msgstr ":pep:`526`:變數註釋的語法"
142
142
msgid ""
143
143
"*Introducing* syntax for annotating variables outside of function "
144
144
"definitions, and :data:`ClassVar`"
145
- msgstr "*介紹 *\\ 在定義函式之外的變數註釋語法,以及 :data:`ClassVar`"
145
+ msgstr "*引入 *\\ 在定義函式之外的變數註釋語法,以及 :data:`ClassVar`"
146
146
147
147
#: ../../library/typing.rst:80
148
148
msgid ":pep:`544`: Protocols: Structural subtyping (static duck typing)"
@@ -155,163 +155,163 @@ msgid ""
155
155
"*Introducing* :class:`Protocol` and the :func:"
156
156
"`@runtime_checkable<runtime_checkable>` decorator"
157
157
msgstr ""
158
- "*介紹 * :class:`Protocol` 以及 :func:`@runtime_checkable<runtime_checkable>` "
158
+ "*引入 * :class:`Protocol` 以及 :func:`@runtime_checkable<runtime_checkable>` "
159
159
"裝飾器 (decorator)"
160
160
161
161
#: ../../library/typing.rst:83
162
162
msgid ":pep:`585`: Type Hinting Generics In Standard Collections"
163
163
msgstr ""
164
- ":pep:`585`: 基礎集合中的型別提示泛型 (Type Hinting Generics In Standard "
165
- "Collections)"
164
+ ":pep:`585`:基礎彙集 (collection) 中的型別提示泛型 (Type Hinting Generics In "
165
+ "Standard Collections)"
166
166
167
167
#: ../../library/typing.rst:83
168
168
msgid ""
169
169
"*Introducing* :class:`types.GenericAlias` and the ability to use standard "
170
170
"library classes as :ref:`generic types<types-genericalias>`"
171
171
msgstr ""
172
- "*介紹 * :class:`types.GenericAlias` 以及使用基礎函式庫類別 :ref:`generic "
172
+ "*引入 * :class:`types.GenericAlias` 以及使用基礎函式庫類別 :ref:`generic "
173
173
"types<types-genericalias>` 的能力"
174
174
175
175
#: ../../library/typing.rst:85
176
176
msgid ":pep:`586`: Literal Types"
177
- msgstr ":pep:`586`: 文字型別"
177
+ msgstr ":pep:`586`:文字型別"
178
178
179
179
#: ../../library/typing.rst:86
180
180
msgid "*Introducing* :data:`Literal`"
181
- msgstr "*介紹 * :data:`Literal`"
181
+ msgstr "*引入 * :data:`Literal`"
182
182
183
183
#: ../../library/typing.rst:87
184
184
msgid ""
185
185
":pep:`589`: TypedDict: Type Hints for Dictionaries with a Fixed Set of Keys"
186
- msgstr ":pep:`589`: TypedDict:含有一組固定 (fixed) 鍵值的型別提示字典"
186
+ msgstr ":pep:`589`:TypedDict:含有一組固定 (fixed) 鍵值的型別提示字典"
187
187
188
188
#: ../../library/typing.rst:88
189
189
msgid "*Introducing* :class:`TypedDict`"
190
- msgstr "*介紹 * :class:`TypedDict`"
190
+ msgstr "*引入 * :class:`TypedDict`"
191
191
192
192
#: ../../library/typing.rst:89
193
193
msgid ":pep:`591`: Adding a final qualifier to typing"
194
- msgstr ":pep:`591`: 為型別新增一個最終限定符 (final qualifier)"
194
+ msgstr ":pep:`591`:為型別新增一個最終限定符 (final qualifier)"
195
195
196
196
#: ../../library/typing.rst:90
197
197
msgid "*Introducing* :data:`Final` and the :func:`@final<final>` decorator"
198
- msgstr "*介紹 * :data:`Final` 以及 :func:`@final<final>` 裝飾器"
198
+ msgstr "*引入 * :data:`Final` 以及 :func:`@final<final>` 裝飾器"
199
199
200
200
#: ../../library/typing.rst:91
201
201
msgid ":pep:`593`: Flexible function and variable annotations"
202
- msgstr ":pep:`593`: 彈性函式及變數註釋"
202
+ msgstr ":pep:`593`:彈性函式及變數註釋"
203
203
204
204
#: ../../library/typing.rst:92
205
205
msgid "*Introducing* :data:`Annotated`"
206
- msgstr "*介紹 * :data:`Annotated`"
206
+ msgstr "*引入 * :data:`Annotated`"
207
207
208
208
#: ../../library/typing.rst:95
209
209
msgid ":pep:`604`: Allow writing union types as ``X | Y``"
210
- msgstr ":pep:`604`: 允許寫入聯合型別 (union type) 為 ``X | Y``"
210
+ msgstr ":pep:`604`:允許寫入聯集型別 (union type) 為 ``X | Y``"
211
211
212
212
#: ../../library/typing.rst:94
213
213
msgid ""
214
214
"*Introducing* :data:`types.UnionType` and the ability to use the binary-or "
215
215
"operator ``|`` to signify a :ref:`union of types<types-union>`"
216
216
msgstr ""
217
- "*介紹 * :data:`types.UnionType` 以及使用 binary-or 運算子 ``|`` 以表示 :ref:` "
218
- "型別聯合 <types-union>` 的能力"
217
+ "*引入 * :data:`types.UnionType` 以及使用 binary-or 運算子 ``|`` 以表示\\ :ref:"
218
+ "` 型別聯合 <types-union>`\\ 的能力"
219
219
220
220
#: ../../library/typing.rst:97
221
221
msgid ":pep:`612`: Parameter Specification Variables"
222
- msgstr ":pep:`612`: 參數規格變數 (Parameter Specification Variable)"
222
+ msgstr ":pep:`612`:參數規格變數 (Parameter Specification Variable)"
223
223
224
224
#: ../../library/typing.rst:98
225
225
msgid "*Introducing* :class:`ParamSpec` and :data:`Concatenate`"
226
- msgstr "*介紹 * :class:`ParamSpec` 及 :data:`Concatenate`"
226
+ msgstr "*引入 * :class:`ParamSpec` 及 :data:`Concatenate`"
227
227
228
228
#: ../../library/typing.rst:99
229
229
msgid ":pep:`613`: Explicit Type Aliases"
230
- msgstr ":pep:`613`: 顯式型別別名 (Explicit Type Alias)"
230
+ msgstr ":pep:`613`:顯式型別別名 (Explicit Type Alias)"
231
231
232
232
#: ../../library/typing.rst:100
233
233
msgid "*Introducing* :data:`TypeAlias`"
234
- msgstr "*介紹 * :data:`TypeAlias`"
234
+ msgstr "*引入 * :data:`TypeAlias`"
235
235
236
236
#: ../../library/typing.rst:101
237
237
msgid ":pep:`646`: Variadic Generics"
238
- msgstr ":pep:`646`: 可變的泛型 (Variadic Generic)"
238
+ msgstr ":pep:`646`:可變參數泛型 (Variadic Generic)"
239
239
240
240
#: ../../library/typing.rst:102
241
241
msgid "*Introducing* :data:`TypeVarTuple`"
242
- msgstr "*介紹 * :data:`TypeVarTuple`"
242
+ msgstr "*引入 * :data:`TypeVarTuple`"
243
243
244
244
#: ../../library/typing.rst:103
245
245
msgid ":pep:`647`: User-Defined Type Guards"
246
- msgstr ":pep:`647`: 使用者定義的型別護衛 (Type Guard)"
246
+ msgstr ":pep:`647`:使用者定義的型別防護 (Type Guard)"
247
247
248
248
#: ../../library/typing.rst:104
249
249
msgid "*Introducing* :data:`TypeGuard`"
250
- msgstr "*介紹 * :data:`TypeGuard`"
250
+ msgstr "*引入 * :data:`TypeGuard`"
251
251
252
252
#: ../../library/typing.rst:105
253
253
msgid ""
254
254
":pep:`655`: Marking individual TypedDict items as required or potentially "
255
255
"missing"
256
- msgstr ":pep:`655`: 標記個別的 TypedDict 物件為必需的或可能遺失的"
256
+ msgstr ":pep:`655`:標記個別的 TypedDict 物件為必需的或可能遺失的"
257
257
258
258
#: ../../library/typing.rst:106
259
259
msgid "*Introducing* :data:`Required` and :data:`NotRequired`"
260
- msgstr "*介紹 * :data:`Required` 和 :data:`NotRequired`"
260
+ msgstr "*引入 * :data:`Required` 和 :data:`NotRequired`"
261
261
262
262
#: ../../library/typing.rst:107
263
263
msgid ":pep:`673`: Self type"
264
- msgstr ":pep:`673`: Self 型別"
264
+ msgstr ":pep:`673`:Self 型別"
265
265
266
266
#: ../../library/typing.rst:108
267
267
msgid "*Introducing* :data:`Self`"
268
- msgstr "*介紹 * :data:`Self`"
268
+ msgstr "*引入 * :data:`Self`"
269
269
270
270
#: ../../library/typing.rst:109
271
271
msgid ":pep:`675`: Arbitrary Literal String Type"
272
- msgstr ":pep:`675`: 任意字串型別 (Arbitrary Literal String Type)"
272
+ msgstr ":pep:`675`:任意的文本字串型別 (Arbitrary Literal String Type)"
273
273
274
274
#: ../../library/typing.rst:110
275
275
msgid "*Introducing* :data:`LiteralString`"
276
- msgstr "*介紹 * :data:`LiteralString`"
276
+ msgstr "*引入 * :data:`LiteralString`"
277
277
278
278
#: ../../library/typing.rst:111
279
279
msgid ":pep:`681`: Data Class Transforms"
280
- msgstr ":pep:`681`: 資料類別轉換"
280
+ msgstr ":pep:`681`:資料類別轉換"
281
281
282
282
#: ../../library/typing.rst:112
283
283
msgid ""
284
284
"*Introducing* the :func:`@dataclass_transform<dataclass_transform>` decorator"
285
- msgstr "*介紹 * :func:`@dataclass_transform<dataclass_transform>` 裝飾器"
285
+ msgstr "*引入 * :func:`@dataclass_transform<dataclass_transform>` 裝飾器"
286
286
287
287
#: ../../library/typing.rst:114
288
288
msgid ":pep:`692`: Using ``TypedDict`` for more precise ``**kwargs`` typing"
289
- msgstr ":pep:`692`: 為更精準的 ``**kwargs`` 型別使用 ``TypedDict``"
289
+ msgstr ":pep:`692`:為更精準的 ``**kwargs`` 型別使用 ``TypedDict``"
290
290
291
291
#: ../../library/typing.rst:114
292
292
msgid ""
293
293
"*Introducing* a new way of typing ``**kwargs`` with :data:`Unpack` and :data:"
294
294
"`TypedDict`"
295
295
msgstr ""
296
- "*介紹 * 型別 ``**kwargs`` 的新方式 :data:`Unpack` 以及 :data:`TypedDict`"
296
+ "*引入 * 型別 ``**kwargs`` 的新方式 :data:`Unpack` 以及 :data:`TypedDict`"
297
297
298
298
#: ../../library/typing.rst:116
299
299
msgid ":pep:`695`: Type Parameter Syntax"
300
- msgstr ":pep:`695`: 型別參數語法"
300
+ msgstr ":pep:`695`:型別參數語法"
301
301
302
302
#: ../../library/typing.rst:117
303
303
msgid ""
304
304
"*Introducing* builtin syntax for creating generic functions, classes, and "
305
305
"type aliases."
306
- msgstr "*介紹 *\\ 建立泛型函式、類別、型別別名的內建語法。"
306
+ msgstr "*引入 *\\ 建立泛型函式、類別、型別別名的內建語法。"
307
307
308
308
#: ../../library/typing.rst:119
309
309
msgid ":pep:`698`: Adding an override decorator to typing"
310
- msgstr ":pep:`698`: 為型別新增可覆寫的裝飾器"
310
+ msgstr ":pep:`698`:為型別新增可覆寫的裝飾器"
311
311
312
312
#: ../../library/typing.rst:119
313
313
msgid "*Introducing* the :func:`@override<override>` decorator"
314
- msgstr "*介紹 * :func:`@override<override>` 裝飾器"
314
+ msgstr "*引入 * :func:`@override<override>` 裝飾器"
315
315
316
316
#: ../../library/typing.rst:129
317
317
msgid "Type aliases"
@@ -332,7 +332,7 @@ msgid ""
332
332
"Type aliases are useful for simplifying complex type signatures. For "
333
333
"example::"
334
334
msgstr ""
335
- "類別別名對於簡化複雜的型別簽章 (complex type signature) 非常好用。舉例來"
335
+ "型別別名對於簡化複雜的型別簽名 (complex type signature) 非常好用。舉例來"
336
336
"說: ::"
337
337
338
338
#: ../../library/typing.rst:162
0 commit comments