@@ -10,7 +10,7 @@ msgstr ""
10
10
"Project-Id-Version : Python 3.10\n "
11
11
"Report-Msgid-Bugs-To : \n "
12
12
"POT-Creation-Date : 2021-10-26 16:47+0000\n "
13
- "PO-Revision-Date : 2018-05-23 14:38+0000 \n "
13
+ "PO-Revision-Date : 2021-11-13 22:30+0800 \n "
14
14
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
15
15
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
16
16
"tw)\n "
@@ -19,6 +19,7 @@ msgstr ""
19
19
"Content-Type : text/plain; charset=UTF-8\n "
20
20
"Content-Transfer-Encoding : 8bit\n "
21
21
"Plural-Forms : nplurals=1; plural=0;\n "
22
+ "X-Generator : Poedit 3.0\n "
22
23
23
24
#: ../../library/array.rst:2
24
25
msgid ":mod:`array` --- Efficient arrays of numeric values"
@@ -91,8 +92,9 @@ msgid "``'u'``"
91
92
msgstr "``'u'``"
92
93
93
94
#: ../../library/array.rst:25
95
+ #, fuzzy
94
96
msgid "wchar_t"
95
- msgstr ""
97
+ msgstr "wchar_t "
96
98
97
99
#: ../../library/array.rst:25
98
100
msgid "Unicode character"
@@ -203,15 +205,20 @@ msgid "Notes:"
203
205
msgstr "註解:"
204
206
205
207
#: ../../library/array.rst:51
208
+ #, fuzzy
206
209
msgid "It can be 16 bits or 32 bits depending on the platform."
207
- msgstr ""
210
+ msgstr "根據平台的不同,他有可能是 16 位元 或者 32 位元。 "
208
211
209
212
#: ../../library/array.rst:53
213
+ #, fuzzy
210
214
msgid ""
211
215
"``array('u')`` now uses ``wchar_t`` as C type instead of deprecated "
212
216
"``Py_UNICODE``. This change doesn't affect to its behavior because "
213
217
"``Py_UNICODE`` is alias of ``wchar_t`` since Python 3.3."
214
218
msgstr ""
219
+ "目前 ``array(‘u’)`` 使用 ``wchar_t`` 取代已棄用的 ``Py_UNICODE`` 作為 C "
220
+ "type。 這個異動並沒有影響到他的作用,因爲自從 Python 3.3 開始 ``Py_UNICODE`` "
221
+ "即為 ``wchar_t`` 的別名。"
215
222
216
223
#: ../../library/array.rst:61
217
224
msgid ""
@@ -248,10 +255,13 @@ msgstr ""
248
255
"他型態的變數則會傳入 :meth:`extend` 方法初始化。"
249
256
250
257
#: ../../library/array.rst:80
258
+ #, fuzzy
251
259
msgid ""
252
260
"Raises an :ref:`auditing event <auditing>` ``array.__new__`` with arguments "
253
261
"``typecode``, ``initializer``."
254
262
msgstr ""
263
+ "引發 :ref:`審核事件(auditing event) <auditing>` ``array.__new__`` 並帶入 "
264
+ "``typecode``, ``initializer``."
255
265
256
266
#: ../../library/array.rst:84
257
267
msgid "A string with all available type codes."
@@ -266,6 +276,11 @@ msgid ""
266
276
"interface, and may be used wherever :term:`bytes-like objects <bytes-like "
267
277
"object>` are supported."
268
278
msgstr ""
279
+ "陣列支援常見的序列操作,包含索引(indexing)、切片(slicing)、串接"
280
+ "(concatenation)、相乘(multiplication)等。當使用切片進行賦值時,賦值的陣列"
281
+ "必須具備相同的型別代號(type code),其他型別的數值將引發 :exc:"
282
+ "`TypeError` 。陣列同時也實作了緩衝區介面,可以在任何支援 :term:`bytes-like "
283
+ "objects <bytes-like object>` 的地方使用。"
269
284
270
285
#: ../../library/array.rst:92
271
286
msgid "The following data items and methods are also supported:"
@@ -383,16 +398,21 @@ msgstr ""
383
398
"encode(enc))`` 來新增 Unicode 資料到一個其他型態的陣列。"
384
399
385
400
#: ../../library/array.rst:182
401
+ #, fuzzy
386
402
msgid ""
387
403
"Return the smallest *i* such that *i* is the index of the first occurrence "
388
404
"of *x* in the array. The optional arguments *start* and *stop* can be "
389
405
"specified to search for *x* within a subsection of the array. Raise :exc:"
390
406
"`ValueError` if *x* is not found."
391
407
msgstr ""
408
+ "回傳 *i* 的最小數值,使得 *i* 成為陣列之中第一次出現 *x* 的索引。選擇性的參"
409
+ "數 *start* 及 *stop* 則可以被用來在指定的陣列空間中搜尋 *x* 。如果 *x* 不存在"
410
+ "將引發 :exc:`ValueError` 。"
392
411
393
412
#: ../../library/array.rst:187
413
+ #, fuzzy
394
414
msgid "Added optional *start* and *stop* parameters."
395
- msgstr ""
415
+ msgstr "新增選擇性的參數 *start* 及 *stop* 。 "
396
416
397
417
#: ../../library/array.rst:192
398
418
msgid ""
@@ -449,6 +469,7 @@ msgstr ""
449
469
"字串。"
450
470
451
471
#: ../../library/array.rst:240
472
+ #, fuzzy
452
473
msgid ""
453
474
"When an array object is printed or converted to a string, it is represented "
454
475
"as ``array(typecode, initializer)``. The *initializer* is omitted if the "
@@ -458,6 +479,13 @@ msgid ""
458
479
"`eval`, so long as the :class:`~array.array` class has been imported using "
459
480
"``from array import array``. Examples::"
460
481
msgstr ""
482
+ "當一個陣列物件被列印或轉換成字串時,他會被表示為 ``array(typecode, "
483
+ "initializer)`` 。若為空陣列則參數 *initializer* 被省略,若 *typecode* 是 "
484
+ "``’u’`` 將被表示為字串,其他情況則被表示為數字 list (串列)。只要 :class:"
485
+ "`~array.array` class(類別)透過 ``from array import array`` 的方式引入,使"
486
+ "用 :func:`eval` 便能確保其字串被轉換回一個擁有相同型別及值的陣列。範例:\n"
487
+ "\n"
488
+ "::"
461
489
462
490
#: ../../library/array.rst:257
463
491
msgid "Module :mod:`struct`"
0 commit comments