@@ -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 : 2021-11-13 22:30 +0800\n "
13+ "PO-Revision-Date : 2021-11-13 23:06 +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 "
@@ -35,9 +35,9 @@ msgid ""
3535"following type codes are defined:"
3636msgstr ""
3737"這個模組定義了一個物件型別,可以簡潔的表達一個包含基本數值的陣列:字元、整"
38- "數、浮點數。陣列是一個非常類似 list 的序列型態,除了陣列會限制儲存的物件型 "
39- "別 。在建立陣列時可以使用一個字元的 :dfn:`type code` 來指定儲存的資料型別。下 "
40- "面是 type codes 的定義。"
38+ "數、浮點數。陣列是一個非常類似 list(串列) 的序列型別,除了陣列會限制儲存的 "
39+ "物件型別 。在建立陣列時可以使用一個字元的 :dfn:`type code` 來指定儲存的資料型 "
40+ "別。下面是 type codes 的定義。"
4141
4242#: ../../library/array.rst:19
4343msgid "Type code"
@@ -240,8 +240,8 @@ msgid ""
240240"object`, or iterable over elements of the appropriate type."
241241msgstr ""
242242"一個新的陣列中的元素被 *typecode* 限制,並由選用的 *initializer* 參數初始"
243- "化, *initializer* 必須是一個 list、 :term:`bytes-like object` 或包含適當型別 "
244- "變數的 iterable 。"
243+ "化, *initializer* 必須是一個 list(串列) 、 :term:`bytes-like object` 或包含 "
244+ "適當型別變數的 iterable 。"
245245
246246#: ../../library/array.rst:75
247247msgid ""
@@ -250,9 +250,9 @@ msgid ""
250250"below) to add initial items to the array. Otherwise, the iterable "
251251"initializer is passed to the :meth:`extend` method."
252252msgstr ""
253- "如果指定一個 list 或 string ,新的陣列初始化時會傳入 :meth:`fromlist` 、 :"
254- "meth:`frombytes` 或 :meth:`fromunicode` 方法(參照下方)將元素新增到其中。其 "
255- "他型態的變數則會傳入 :meth:`extend` 方法初始化。"
253+ "如果指定一個 list(串列) 或 string ,新的陣列初始化時會傳入 :meth:"
254+ "`fromlist` 、 : meth:`frombytes` 或 :meth:`fromunicode` 方法(參照下方)將元素 "
255+ "新增到其中。其他型態的變數則會傳入 :meth:`extend` 方法初始化。"
256256
257257#: ../../library/array.rst:80
258258#, fuzzy
@@ -265,7 +265,7 @@ msgstr ""
265265
266266#: ../../library/array.rst:84
267267msgid "A string with all available type codes."
268- msgstr "一個包含所有可用的 type code 的字串。"
268+ msgstr "一個包含所有可用的 type codes 的字串。"
269269
270270#: ../../library/array.rst:86
271271msgid ""
@@ -278,9 +278,9 @@ msgid ""
278278msgstr ""
279279"陣列支援常見的序列操作,包含索引(indexing)、切片(slicing)、串接"
280280"(concatenation)、相乘(multiplication)等。當使用切片進行賦值時,賦值的陣列"
281- "必須具備相同的型別代號( type code),其他型別的數值將引發 :exc:"
282- "`TypeError` 。陣列同時也實作了緩衝區介面 ,可以在任何支援 :term:`bytes-like "
283- "objects <bytes-like object>` 的地方使用。"
281+ "必須具備相同的 type code ,其他型別的數值將導致 :exc:`TypeError` 。陣列同時 "
282+ "也實作了緩衝區介面 ,可以在任何支援 :term:`bytes-like objects < bytes-like "
283+ "object>` 的地方使用。"
284284
285285#: ../../library/array.rst:92
286286msgid "The following data items and methods are also supported:"
@@ -350,9 +350,9 @@ msgid ""
350350"iterable and its elements must be the right type to be appended to the array."
351351msgstr ""
352352"從 *iterable* 中新增元素到陣列的尾端,如果 *iterable* 是另一個陣列,他必須有"
353- "完全相同的 type code ,如果不同會產生 :exc:`TypeError` 。如果 *iterable* 不是"
353+ "完全相同的 type code ,如果不同會導致 :exc:`TypeError` 。如果 *iterable* 不是"
354354"一個陣列,他必須可以被迭代 (iterable) 且其中的元素必須是可以被加入陣列中的正"
355- "確型態 。"
355+ "確型別 。"
356356
357357#: ../../library/array.rst:151
358358msgid ""
@@ -375,16 +375,16 @@ msgid ""
375375"inserted into the array."
376376msgstr ""
377377"從 :term:`file object` *f* 讀取 *n* 個 machine value 類型的元素,接著將這些元"
378- "素加入陣列的最尾端。如果只有少於 *n* 個有效的元素會產生 :exc:`EOFError` 錯 "
379- "誤,但有效的元素仍然會被加入陣列中 。"
378+ "素加入陣列的最尾端。如果只有少於 *n* 個有效的元素會導致 :exc:`EOFError` ,但 "
379+ "有效的元素仍然會被加入陣列中 。"
380380
381381#: ../../library/array.rst:168
382382msgid ""
383383"Append items from the list. This is equivalent to ``for x in list: a."
384384"append(x)`` except that if there is a type error, the array is unchanged."
385385msgstr ""
386- "從 list 中新增元素。這等價於 ``for x in list: a.append(x)`` ,除了有型態錯誤 "
387- "產生時 ,陣列會保持原狀不會被更改。"
386+ "從 list(串列) 中新增元素。這等價於 ``for x in list: a.append(x)`` ,除了有型 "
387+ "別錯誤產生時 ,陣列會保持原狀不會被更改。"
388388
389389#: ../../library/array.rst:174
390390msgid ""
@@ -393,9 +393,9 @@ msgid ""
393393"``array.frombytes(unicodestring.encode(enc))`` to append Unicode data to an "
394394"array of some other type."
395395msgstr ""
396- "用給定的 unicode 字串擴展這個陣列。陣列必須是型態 ``u`` 的陣列;其他的型態會 "
397- "產生 :exc:`ValueError` 錯誤。使用 ``array.frombytes(unicodestring."
398- "encode(enc))`` 來新增 Unicode 資料到一個其他型態的陣列 。"
396+ "用給定的 unicode 字串擴展這個陣列。陣列必須是 ``u`` 型別的陣列;其他的型別會 "
397+ "導致 :exc:`ValueError` 錯誤。使用 ``array.frombytes(unicodestring."
398+ "encode(enc))`` 來新增 Unicode 資料到一個其他型別的陣列 。"
399399
400400#: ../../library/array.rst:182
401401#, fuzzy
@@ -407,7 +407,7 @@ msgid ""
407407msgstr ""
408408"回傳 *i* 的最小數值,使得 *i* 成為陣列之中第一次出現 *x* 的索引。選擇性的參"
409409"數 *start* 及 *stop* 則可以被用來在指定的陣列空間中搜尋 *x* 。如果 *x* 不存在"
410- "將引發 :exc:`ValueError` 。"
410+ "將導致 :exc:`ValueError` 。"
411411
412412#: ../../library/array.rst:187
413413#, fuzzy
@@ -456,16 +456,16 @@ msgstr "將所有元素 (以 machine code 的形式)寫入 :term:`file objec
456456
457457#: ../../library/array.rst:230
458458msgid "Convert the array to an ordinary list with the same items."
459- msgstr "不更改元素,將陣列轉為一般的 list 。"
459+ msgstr "不更改元素,將陣列轉為一般的 list(串列) 。"
460460
461461#: ../../library/array.rst:235
462462msgid ""
463463"Convert the array to a unicode string. The array must be a type ``'u'`` "
464464"array; otherwise a :exc:`ValueError` is raised. Use ``array.tobytes()."
465465"decode(enc)`` to obtain a unicode string from an array of some other type."
466466msgstr ""
467- "將陣列轉為一個字串。陣列的型態必須為 ``u`` 。其他型態的陣列會產生 :exc:"
468- "`ValueError` 錯誤。使用 ``array.tobytes().decode(enc)`` 將其他型態的陣列轉為 "
467+ "將陣列轉為一個字串。陣列的型態必須為 ``u`` 。其他型別的陣列會導致 :exc:"
468+ "`ValueError` 錯誤。使用 ``array.tobytes().decode(enc)`` 將其他型別的陣列轉為 "
469469"字串。"
470470
471471#: ../../library/array.rst:240
@@ -481,9 +481,9 @@ msgid ""
481481msgstr ""
482482"當一個陣列物件被列印或轉換成字串時,他會被表示為 ``array(typecode, "
483483"initializer)`` 。若為空陣列則參數 *initializer* 被省略,若 *typecode* 是 "
484- "``’u’`` 將被表示為字串,其他情況則被表示為數字 list (串列) 。只要 :class:"
484+ "``’u’`` 將被表示為字串,其他情況則被表示為數字 list(串列) 。只要 :class:"
485485"`~array.array` class(類別)透過 ``from array import array`` 的方式引入,使"
486- "用 :func:`eval` 便能確保其字串被轉換回一個擁有相同型別及值的陣列 。範例:\n"
486+ "用 :func:`eval` 便能確保其字串被轉換回一個擁有相同型別及數值的陣列 。範例:\n"
487487"\n"
488488"::"
489489
@@ -513,7 +513,7 @@ msgstr "`NumPy <https://numpy.org/>`_"
513513
514514#: ../../library/array.rst:264
515515msgid "The NumPy package defines another array type."
516- msgstr "NumPy 套件定義了另一個陣列型態 "
516+ msgstr "NumPy 套件定義了另一個陣列型別 "
517517
518518#~ msgid ""
519519#~ "Return the smallest *i* such that *i* is the index of the first "
0 commit comments