@@ -241,29 +241,28 @@ msgid "The module defines the following type:"
241241msgstr "這個模組定義了下方的型別:"
242242
243243#: ../../library/array.rst:78
244- #, fuzzy
245244msgid ""
246245"A new array whose items are restricted by *typecode*, and initialized from "
247246"the optional *initializer* value, which must be a :class:`bytes` or :class:"
248247"`bytearray` object, a Unicode string, or iterable over elements of the "
249248"appropriate type."
250249msgstr ""
251- "一個新的陣列中的元素被 *typecode* 限制,並由選用的 *initializer*參數初始 "
252- "化, \\ *initializer* 必須是一個list、 \\ :term :`bytes-like object` \\ (類位元 "
253- "組串物件)或包含適當型別變數的可疊代物件 (iterable)。"
250+ "一個新的陣列中的元素被 *typecode* 限制,並由選用的 *initializer*參數初始化, "
251+ "*initializer* 必須是一個:class :`bytes` 或 :class:`bytearray` 物件、一個 "
252+ "Unicode 字串或包含適當型別元素的可疊代物件 (iterable)。"
254253
255254#: ../../library/array.rst:83
256- #, fuzzy
257255msgid ""
258256"If given a :class:`bytes` or :class:`bytearray` object, the initializer is "
259257"passed to the new array's :meth:`frombytes` method; if given a Unicode "
260258"string, the initializer is passed to the :meth:`fromunicode` method; "
261259"otherwise, the initializer's iterator is passed to the :meth:`extend` method "
262260"to add initial items to the array."
263261msgstr ""
264- "如果指定一個 list 或 string,新的陣列初始化時會傳入 :meth:`fromlist`\\ 、\\ :"
265- "meth:`frombytes` 或 :meth:`fromunicode` 方法(參照下方)將元素新增到其中。其"
266- "他情況時, 一個 iterable initializer 將被傳入 :meth:`extend` 方法之中。"
262+ "如果給定的是一個 :class:`bytes` 或 :class:`bytearray` 物件,新的陣列初始化時"
263+ "會傳入 :meth:`frombytes` 方法;如為 Unicode 字串則會傳入 :meth:`fromunicode` "
264+ "方法;其他情況時, 一個 initializer 的可疊代物件將被傳入 :meth:`extend` 方法"
265+ "之中來將初始項目新增至陣列。"
267266
268267#: ../../library/array.rst:90
269268msgid ""
@@ -276,17 +275,17 @@ msgid ""
276275msgstr ""
277276"陣列支援常見的序列操作,包含索引 (indexing)、切片 (slicing)、串接 "
278277"(concatenation)、相乘 (multiplication) 等。當使用切片進行賦值時,賦值的陣列必"
279- "須具備相同的 type code,其他型別的數值將導致 :exc:`TypeError`\\ 。陣列同時也 "
280- "實作了緩衝區介面 ,可以在任何支援 :term:`bytes-like objects <bytes-like "
281- "object>` 的地方使用。"
278+ "須具備相同的 type code,其他型別的數值將導致 :exc:`TypeError`。陣列同時也實作 "
279+ "了緩衝區介面 ,可以在任何支援 :term:`bytes-like objects <bytes-like object>` "
280+ "的地方使用。"
282281
283282#: ../../library/array.rst:96
284283msgid ""
285284"Raises an :ref:`auditing event <auditing>` ``array.__new__`` with arguments "
286285"``typecode``, ``initializer``."
287286msgstr ""
288287"引發\\ :ref:`稽核事件 (auditing event) <auditing>` ``array.__new__`` 並帶入引"
289- "數 ``typecode``\\ 、 \\ ``initializer``\\ 。"
288+ "數 ``typecode``、 ``initializer``。"
290289
291290#: ../../library/array.rst:101
292291msgid "The typecode character used to create the array."
@@ -337,8 +336,8 @@ msgid ""
337336"written on a machine with a different byte order."
338337msgstr ""
339338"\" Byteswap\" 所有陣列中的物件。這只有支援物件長度為 1、2、4 或 8 位元組的陣"
340- "列,其他型別的值會導致 :exc:`RuntimeError`\\ 。這在從機器讀取位元順序不同的檔 "
341- "案時很有用 。"
339+ "列,其他型別的值會導致 :exc:`RuntimeError`。這在從機器讀取位元順序不同的檔案 "
340+ "時很有用 。"
342341
343342#: ../../library/array.rst:143
344343msgid "Return the number of occurrences of *x* in the array."
@@ -352,23 +351,22 @@ msgid ""
352351"iterable and its elements must be the right type to be appended to the array."
353352msgstr ""
354353"從 *iterable* 中新增元素到陣列的尾端,如果 *iterable* 是另一個陣列,它必須有"
355- "完全相同的 type code,如果不同會導致 :exc:`TypeError`\\ 。如果 *iterable*不 "
356- "是一個陣列 ,它必須可以被疊代 (iterable)且其中的元素必須是可以被加入陣列中的 "
357- "正確型別 。"
354+ "完全相同的 type code,如果不同會導致 :exc:`TypeError`。如果 *iterable*不是一 "
355+ "個陣列 ,它必須可以被疊代 (iterable)且其中的元素必須是可以被加入陣列中的正確 "
356+ "型別 。"
358357
359358#: ../../library/array.rst:156
360- #, fuzzy
361359msgid ""
362360"Appends items from the :term:`bytes-like object`, interpreting its content "
363361"as an array of machine values (as if it had been read from a file using the :"
364362"meth:`fromfile` method)."
365363msgstr ""
366- "從字串中新增元素。讀取時會將字串當作一個機器數值組成的陣列(就像從檔案中使 "
367- "用 :meth:`fromfile` 方法讀出的資料)。"
364+ "從 :term:`bytes-like object` 中新增元素。讀取時會將其內容當作一個機器數值組成 "
365+ "的陣列(就像從檔案中使用 :meth:`fromfile` 方法讀出的資料)。"
368366
369367#: ../../library/array.rst:160
370368msgid ":meth:`!fromstring` is renamed to :meth:`frombytes` for clarity."
371- msgstr "將 :meth:`!fromstring` 更名為 :meth:`frombytes`\\ ,使其更加清晰易懂。"
369+ msgstr "將 :meth:`!fromstring` 更名為 :meth:`frombytes`,使其更加清晰易懂。"
372370
373371#: ../../library/array.rst:166
374372msgid ""
@@ -378,27 +376,26 @@ msgid ""
378376"inserted into the array."
379377msgstr ""
380378"從 :term:`file object` *f* 讀取 *n* 個元素(作為機器數值),接著將這些元素加"
381- "入陣列的最尾端。如果只有少於 *n* 個有效的元素會導致 :exc:`EOFError`\\ ,但有 "
382- "效的元素仍然會被加入陣列中 。"
379+ "入陣列的最尾端。如果只有少於 *n* 個有效的元素會導致 :exc:`EOFError`,但有效的 "
380+ "元素仍然會被加入陣列中 。"
383381
384382#: ../../library/array.rst:174
385383msgid ""
386384"Append items from the list. This is equivalent to ``for x in list: a."
387385"append(x)`` except that if there is a type error, the array is unchanged."
388386msgstr ""
389- "從 list 中新增元素。這等價於 ``for x in list: a.append(x)``\\ ,除了有型別錯 "
390- "誤產生時 ,陣列會保持原狀不會被更改。"
387+ "從 list 中新增元素。這等價於 ``for x in list: a.append(x)``,除了有型別錯誤產 "
388+ "生時 ,陣列會保持原狀不會被更改。"
391389
392390#: ../../library/array.rst:180
393- #, fuzzy
394391msgid ""
395392"Extends this array with data from the given Unicode string. The array must "
396393"have type code ``'u'``; otherwise a :exc:`ValueError` is raised. Use ``array."
397394"frombytes(unicodestring.encode(enc))`` to append Unicode data to an array of "
398395"some other type."
399396msgstr ""
400- "用給定的unicode 字串擴展這個陣列。陣列必須是 ``u`` 型別的陣列;其他的型別會 "
401- "導致 :exc:`ValueError`錯誤 。使用 ``array.frombytes(unicodestring."
397+ "用給定的Unicode 字串擴展這個陣列。陣列的 type code 必須是 ``u``;其他的型別 "
398+ "會導致 :exc:`ValueError`被引發 。使用 ``array.frombytes(unicodestring."
402399"encode(enc))`` 來新增 Unicode 資料到一個其他型別的陣列。"
403400
404401#: ../../library/array.rst:188
@@ -409,31 +406,31 @@ msgid ""
409406"`ValueError` if *x* is not found."
410407msgstr ""
411408"回傳 *i* 的最小數值,使得 *i* 成為陣列之中第一次出現 *x* 的索引。選擇性的引"
412- "數 *start* 及 *stop* 則可以被用來在指定的陣列空間中搜尋 *x*\\ 。如果 *x*不存 "
413- "在將導致 :exc:`ValueError`\\ 。"
409+ "數 *start* 及 *stop* 則可以被用來在指定的陣列空間中搜尋 *x*。如果 *x*不存在 "
410+ "將導致 :exc:`ValueError`。"
414411
415412#: ../../library/array.rst:193
416413msgid "Added optional *start* and *stop* parameters."
417- msgstr "新增選擇性的參數 *start* 及 *stop*\\ 。"
414+ msgstr "新增選擇性的參數 *start* 及 *stop*。"
418415
419416#: ../../library/array.rst:199
420417msgid ""
421418"Insert a new item with value *x* in the array before position *i*. Negative "
422419"values are treated as being relative to the end of the array."
423- msgstr "在位置 *i* 之前插入一個元素 *x*\\ 。負數的索引值會從陣列尾端開始數。"
420+ msgstr "在位置 *i* 之前插入一個元素 *x*。負數的索引值會從陣列尾端開始數。"
424421
425422#: ../../library/array.rst:205
426423msgid ""
427424"Removes the item with the index *i* from the array and returns it. The "
428425"optional argument defaults to ``-1``, so that by default the last item is "
429426"removed and returned."
430427msgstr ""
431- "移除並回傳陣列索引值 *i* 的元素。選擇性的引數 *i* 預設為 ``-1``\\ ,所以預設 "
432- "會刪除並回傳最後一個元素 。"
428+ "移除並回傳陣列索引值 *i* 的元素。選擇性的引數 *i* 預設為 ``-1``,所以預設會刪 "
429+ "除並回傳最後一個元素 。"
433430
434431#: ../../library/array.rst:212
435432msgid "Remove the first occurrence of *x* from the array."
436- msgstr "從陣列中刪除第一個出現的 *x*\\ 。"
433+ msgstr "從陣列中刪除第一個出現的 *x*。"
437434
438435#: ../../library/array.rst:217
439436msgid "Reverse the order of the items in the array."
@@ -450,29 +447,27 @@ msgstr ""
450447
451448#: ../../library/array.rst:226
452449msgid ":meth:`!tostring` is renamed to :meth:`tobytes` for clarity."
453- msgstr "為了明確性,過去的 :meth:`!tostring` 已更名為 :meth:`tobytes`\\ 。"
450+ msgstr "為了明確性,過去的 :meth:`!tostring` 已更名為 :meth:`tobytes`。"
454451
455452#: ../../library/array.rst:232
456453msgid "Write all items (as machine values) to the :term:`file object` *f*."
457- msgstr "將所有元素(作為機器數值)寫入 :term:`file object` *f*\\ 。"
454+ msgstr "將所有元素(作為機器數值)寫入 :term:`file object` *f*。"
458455
459456#: ../../library/array.rst:237
460457msgid "Convert the array to an ordinary list with the same items."
461458msgstr "不更改元素,將陣列轉為一般的 list。"
462459
463460#: ../../library/array.rst:242
464- #, fuzzy
465461msgid ""
466462"Convert the array to a Unicode string. The array must have a type ``'u'``; "
467463"otherwise a :exc:`ValueError` is raised. Use ``array.tobytes().decode(enc)`` "
468464"to obtain a Unicode string from an array of some other type."
469465msgstr ""
470- "將陣列轉為一個字串 。陣列的型別必須為 ``u``\\ 。其他型別的陣列會導致:exc :"
471- "`ValueError` 錯誤。使用 ``array.tobytes().decode(enc)``將其他型別的陣列轉為 "
472- "字串。"
466+ "將陣列轉為一個 Unicode 字串 。陣列的型別必須為 ``u``。其他型別的陣列會導致 :"
467+ "exc: `ValueError` 錯誤。請使用 ``array.tobytes().decode(enc)``來為其他型別的 "
468+ "陣列轉為 Unicode 字串。"
473469
474470#: ../../library/array.rst:247
475- #, fuzzy
476471msgid ""
477472"The string representation of array objects has the form ``array(typecode, "
478473"initializer)``. The *initializer* is omitted if the array is empty, "
@@ -483,13 +478,11 @@ msgid ""
483478"``from array import array``. Variables ``inf`` and ``nan`` must also be "
484479"defined if it contains corresponding floating point values. Examples::"
485480msgstr ""
486- "當一個陣列物件被列印或轉換成字串時,它會被表示為 ``array(typecode, "
487- "initializer)``\\ 。若為空陣列則參數 *initializer* 被省略,若 *typecode* 是 "
488- "``'u'`` 將被表示為字串,其他情況則被表示為由數字組成的 list。只要 :class:"
489- "`~array.array` class(類別)透過 ``from array import array`` 的方式引入,便能"
490- "確保該字串能透過 :func:`eval` 轉換回一個擁有相同型別及數值的陣列。範例:\n"
491- "\n"
492- "::"
481+ "陣列物件的字串表示形式為 ``array(typecode, initializer)``。若為空陣列則參數 "
482+ "*initializer* 被省略,若 *typecode* 是 ``'u'`` 將被表示為 Unicode 字串,其他"
483+ "情況則被表示為由數字組成的 list。只要 :class:`~array.array` class(類別)透"
484+ "過 ``from array import array`` 的方式引入,便能確保該字串表示能透過 :func:"
485+ "`eval` 轉換回一個擁有相同型別及數值的陣列。範例: ::"
493486
494487#: ../../library/array.rst:268
495488msgid "Module :mod:`struct`"