@@ -10,7 +10,7 @@ msgstr ""
1010"Project-Id-Version : Python 3.10\n "
1111"Report-Msgid-Bugs-To : \n "
1212"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 "
1414"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
1515"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
1616"tw)\n "
@@ -19,6 +19,7 @@ msgstr ""
1919"Content-Type : text/plain; charset=UTF-8\n "
2020"Content-Transfer-Encoding : 8bit\n "
2121"Plural-Forms : nplurals=1; plural=0;\n "
22+ "X-Generator : Poedit 3.0\n "
2223
2324#: ../../library/array.rst:2
2425msgid ":mod:`array` --- Efficient arrays of numeric values"
@@ -91,8 +92,9 @@ msgid "``'u'``"
9192msgstr "``'u'``"
9293
9394#: ../../library/array.rst:25
95+ #, fuzzy
9496msgid "wchar_t"
95- msgstr ""
97+ msgstr "wchar_t "
9698
9799#: ../../library/array.rst:25
98100msgid "Unicode character"
@@ -203,15 +205,20 @@ msgid "Notes:"
203205msgstr "註解:"
204206
205207#: ../../library/array.rst:51
208+ #, fuzzy
206209msgid "It can be 16 bits or 32 bits depending on the platform."
207- msgstr ""
210+ msgstr "根據平台的不同,他有可能是 16 位元 或者 32 位元。 "
208211
209212#: ../../library/array.rst:53
213+ #, fuzzy
210214msgid ""
211215"``array('u')`` now uses ``wchar_t`` as C type instead of deprecated "
212216"``Py_UNICODE``. This change doesn't affect to its behavior because "
213217"``Py_UNICODE`` is alias of ``wchar_t`` since Python 3.3."
214218msgstr ""
219+ "目前 ``array(‘u’)`` 使用 ``wchar_t`` 取代已棄用的 ``Py_UNICODE`` 作為 C "
220+ "type。 這個異動並沒有影響到他的作用,因爲自從 Python 3.3 開始 ``Py_UNICODE`` "
221+ "即為 ``wchar_t`` 的別名。"
215222
216223#: ../../library/array.rst:61
217224msgid ""
@@ -248,10 +255,13 @@ msgstr ""
248255"他型態的變數則會傳入 :meth:`extend` 方法初始化。"
249256
250257#: ../../library/array.rst:80
258+ #, fuzzy
251259msgid ""
252260"Raises an :ref:`auditing event <auditing>` ``array.__new__`` with arguments "
253261"``typecode``, ``initializer``."
254262msgstr ""
263+ "引發 :ref:`審核事件(auditing event) <auditing>` ``array.__new__`` 並帶入 "
264+ "``typecode``, ``initializer``."
255265
256266#: ../../library/array.rst:84
257267msgid "A string with all available type codes."
@@ -266,6 +276,11 @@ msgid ""
266276"interface, and may be used wherever :term:`bytes-like objects <bytes-like "
267277"object>` are supported."
268278msgstr ""
279+ "陣列支援常見的序列操作,包含索引(indexing)、切片(slicing)、串接"
280+ "(concatenation)、相乘(multiplication)等。當使用切片進行賦值時,賦值的陣列"
281+ "必須具備相同的型別代號(type code),其他型別的數值將引發 :exc:"
282+ "`TypeError` 。陣列同時也實作了緩衝區介面,可以在任何支援 :term:`bytes-like "
283+ "objects <bytes-like object>` 的地方使用。"
269284
270285#: ../../library/array.rst:92
271286msgid "The following data items and methods are also supported:"
@@ -383,16 +398,21 @@ msgstr ""
383398"encode(enc))`` 來新增 Unicode 資料到一個其他型態的陣列。"
384399
385400#: ../../library/array.rst:182
401+ #, fuzzy
386402msgid ""
387403"Return the smallest *i* such that *i* is the index of the first occurrence "
388404"of *x* in the array. The optional arguments *start* and *stop* can be "
389405"specified to search for *x* within a subsection of the array. Raise :exc:"
390406"`ValueError` if *x* is not found."
391407msgstr ""
408+ "回傳 *i* 的最小數值,使得 *i* 成為陣列之中第一次出現 *x* 的索引。選擇性的參"
409+ "數 *start* 及 *stop* 則可以被用來在指定的陣列空間中搜尋 *x* 。如果 *x* 不存在"
410+ "將引發 :exc:`ValueError` 。"
392411
393412#: ../../library/array.rst:187
413+ #, fuzzy
394414msgid "Added optional *start* and *stop* parameters."
395- msgstr ""
415+ msgstr "新增選擇性的參數 *start* 及 *stop* 。 "
396416
397417#: ../../library/array.rst:192
398418msgid ""
@@ -449,6 +469,7 @@ msgstr ""
449469"字串。"
450470
451471#: ../../library/array.rst:240
472+ #, fuzzy
452473msgid ""
453474"When an array object is printed or converted to a string, it is represented "
454475"as ``array(typecode, initializer)``. The *initializer* is omitted if the "
@@ -458,6 +479,13 @@ msgid ""
458479"`eval`, so long as the :class:`~array.array` class has been imported using "
459480"``from array import array``. Examples::"
460481msgstr ""
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+ "::"
461489
462490#: ../../library/array.rst:257
463491msgid "Module :mod:`struct`"
0 commit comments