8000 fix based on review · tomatoprinx/python-docs-zh-tw@b1d476d · GitHub
[go: up one dir, main page]

Skip to content

Commit b1d476d

Browse files
committed
fix based on review
1 parent 7ff848e commit b1d476d

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

library/array.po

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
1414
"POT-Creation-Date: 2021-10-26 16:47+0000\n"
15-
"PO-Revision-Date: 2021-11-19 20:37+0800\n"
15+
"PO-Revision-Date: 2021-11-21 16:39+0800\n"
1616
"Last-Translator: Benson Chen <bc842017@gmail.com>\n"
1717
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1818
"tw)\n"
@@ -25,7 +25,7 @@ msgstr ""
2525

2626
#: ../../library/array.rst:2
2727
msgid ":mod:`array` --- Efficient arrays of numeric values"
28-
msgstr ":mod:`array` --- 高效率的數值型態陣列"
28+
msgstr ":mod:`array` --- 高效率的數值型陣列"
2929

3030
#: ../../library/array.rst:11
3131
msgid ""
@@ -39,7 +39,7 @@ msgstr ""
3939
"這個模組定義了一個物件型別,可以簡潔的表達一個包含基本數值的陣列:字元、整"
4040
"數、浮點數。陣列是一個非常類似 list(串列)的序列型別,除了陣列會限制儲存的物"
4141
"件型別。在建立陣列時可以使用一個字元的 :dfn:`type code` 來指定儲存的資料型"
42-
"別。下面是 type codes 的定義。"
42+
"別。以下為有被定義的 type codes"
4343

4444
#: ../../library/array.rst:19
4545
msgid "Type code"
@@ -239,8 +239,8 @@ msgid ""
239239
"object`, or iterable over elements of the appropriate type."
240240
msgstr ""
241241
"一個新的陣列中的元素被 *typecode* 限制,並由選用的 *initializer* 參數初始"
242-
"化,\\ *initializer* 必須是一個 list、\\ :term:`bytes-like object` 或包含適當"
243-
"型別變數的 iterable。"
242+
"化,\\ *initializer* 必須是一個 list、\\ :term:`bytes-like object`\\ (類位元"
243+
"組串物件)或包含適當型別變數的可疊代物件 (iterable)。"
244244

245245
#: ../../library/array.rst:75
246246
msgid ""
@@ -251,15 +251,15 @@ msgid ""
251251
msgstr ""
252252
"如果指定一個 list 或 string,新的陣列初始化時會傳入 :meth:`fromlist`\\\\ :"
253253
"meth:`frombytes` 或 :meth:`fromunicode` 方法(參照下方)將元素新增到其中。其"
254-
"他型態的變數則會傳入 :meth:`extend` 方法初始化。"
254+
"他情況時, 一個 iterable initializer 將被傳入 :meth:`extend` 方法之中。"
255255

256256
#: ../../library/array.rst:80
257257
msgid ""
258258
"Raises an :ref:`auditing event <auditing>` ``array.__new__`` with arguments "
259259
"``typecode``, ``initializer``."
260260
msgstr ""
261-
"引發 :ref:`審核事件 (auditing event) <auditing>` ``array.__new__`` 並帶入引"
262-
"數 ``typecode````initializer``。"
261+
"引發\\ :ref:`審核事件 (auditing event) <auditing>` ``array.__new__`` 並帶入引"
262+
"數 ``typecode````initializer``。"
263263

264264
#: ../../library/array.rst:84
265265
msgid "A string with all available type codes."
@@ -282,7 +282,7 @@ msgstr ""
282282

283283
#: ../../library/array.rst:92
284284
msgid "The following data items and methods are also supported:"
285-
msgstr "提供下方的資料物件與方法"
285+
msgstr "提供下方的資料物件與方法"
286286

287287
#: ../../library/array.rst:96
288288
msgid "The typecode character used to create the array."
@@ -460,7 +460,7 @@ msgid ""
460460
"array; otherwise a :exc:`ValueError` is raised. Use ``array.tobytes()."
461461
"decode(enc)`` to obtain a unicode string from an array of some other type."
462462
msgstr ""
463-
"將陣列轉為一個字串。陣列的型態必須為 ``u`` 。其他型別的陣列會導致 :exc:"
463+
"將陣列轉為一個字串。陣列的型別必須為 ``u`` 。其他型別的陣列會導致 :exc:"
464464
"`ValueError` 錯誤。使用 ``array.tobytes().decode(enc)`` 將其他型別的陣列轉為"
465465
"字串。"
466466

@@ -476,23 +476,23 @@ msgid ""
476476
msgstr ""
477477
"當一個陣列物件被列印或轉換成字串時,他會被表示為 ``array(typecode, "
478478
"initializer)`` 。若為空陣列則參數 *initializer* 被省略,若 *typecode* 是 "
479-
"``’u’`` 將被表示為字串,其他情況則被表示為數字 list。只要 :class:`~array."
480-
"array` class(類別)透過 ``from array import array`` 的方式引入,使用 :func:"
481-
"`eval` 便能確保其字串被轉換回一個擁有相同型別及數值的陣列。範例:\n"
479+
"``’u’`` 將被表示為字串,其他情況則被表示為由數字組成的 list。只要 :class:"
480+
"`~array.array` class(類別)透過 ``from array import array`` 的方式引入,便能"
481+
"確保該字串能透過 :func:`eval` 轉換回一個擁有相同型別及數值的陣列。範例:\n"
482482
"\n"
483483
"::"
484484

485485
#: ../../library/array.rst:257
486486
msgid "Module :mod:`struct`"
487-
msgstr "模組 :mod:`struct`"
487+
msgstr ":mod:`struct` 模組"
488488

489489
#: ../../library/array.rst:257
490490
msgid "Packing and unpacking of heterogeneous binary data."
491491
msgstr "將包含不同資料類型的二進位資料包裝與解開包裝。"
492492

493493
#: ../../library/array.rst:261
494494
msgid "Module :mod:`xdrlib`"
495-
msgstr "模組 :mod:`xdrlib`"
495+
msgstr ":mod:`xdrlib` 模組"
496496

497497
#: ../../library/array.rst:260
498498
msgid ""

0 commit comments

Comments
 (0)
0