@@ -8,7 +8,7 @@ msgstr ""
88"Project-Id-Version :Python 3.12\n "
99"Report-Msgid-Bugs-To :\n "
1010"POT-Creation-Date :2023-05-09 00:15+0000\n "
11- "PO-Revision-Date :2015-12-09 17:51+0000 \n "
11+ "PO-Revision-Date :2023-08-12 11:42+0800 \n "
1212"Last-Translator :Liang-Bo Wang <me@liang2.tw>\n "
1313"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
1414"tw)\n "
@@ -17,93 +17,105 @@ msgstr ""
1717"Content-Type :text/plain; charset=UTF-8\n "
1818"Content-Transfer-Encoding :8bit\n "
1919"Plural-Forms :nplurals=1; plural=0;\n "
20+ "X-Generator :Poedit 3.3.2\n "
2021
2122#: ../../c-api/bytearray.rst:6
2223msgid "Byte Array Objects"
23- msgstr "位元組串列物件 (Byte Array Objects)"
24+ msgstr "位元組陣列物件 (Byte Array Objects)"
2425
2526#: ../../c-api/bytearray.rst:13
2627msgid ""
2728"This subtype of :c:type:`PyObject` represents a Python bytearray object."
28- msgstr ""
29+ msgstr "這個 :c:type:`PyObject` 的子型別代表了 Python 的位元組陣列物件。 "
2930
3031#: ../../c-api/bytearray.rst:18
3132msgid ""
3233"This instance of :c:type:`PyTypeObject` represents the Python bytearray "
3334"type; it is the same object as :class:`bytearray` in the Python layer."
3435msgstr ""
36+ "這個 :c:type:`PyTypeObject` 的實例代表了 Python 的位元組陣列型別;在 Python 層"
37+ "中的 :class:`bytearray` 為同一個物件。"
3538
3639#: ../../c-api/bytearray.rst:23
3740msgid "Type check macros"
38- msgstr ""
41+ msgstr "型別檢查巨集 "
3942
4043#: ../../c-api/bytearray.rst:27
4144msgid ""
4245"Return true if the object *o* is a bytearray object or an instance of a "
4346"subtype of the bytearray type. This function always succeeds."
4447msgstr ""
48+ "如果物件 *o* 是一個位元組陣列物件,或者是位元組陣列型別的子型別的實例,則回傳真"
49+ "值。此函式總是會成功執行。"
4550
4651#: ../../c-api/bytearray.rst:33
4752msgid ""
4853"Return true if the object *o* is a bytearray object, but not an instance of "
4954"a subtype of the bytearray type. This function always succeeds."
5055msgstr ""
56+ "如果物件 *o* 是一個位元組陣列物件,但不是位元組陣列型別的子型別的實例,則回傳真"
57+ "值。此函式總是會成功執行。"
5158
5259#: ../../c-api/bytearray.rst:38
5360msgid "Direct API functions"
54- msgstr ""
61+ msgstr "直接 API 函式 "
5562
5663#: ../../c-api/bytearray.rst:42
5764msgid ""
5865"Return a new bytearray object from any object, *o*, that implements the :ref:"
5966"`buffer protocol <bufferobjects>`."
6067msgstr ""
68+ "由任意物件 *o* 回傳一個新的位元組陣列物件,並實作了\\ :ref:`緩衝協議 (buffer "
69+ "protocol) <bufferobjects>`\\ 。"
6170
6271#: ../../c-api/bytearray.rst:48
6372msgid ""
6473"Create a new bytearray object from *string* and its length, *len*. On "
6574"failure, ``NULL`` is returned."
6675msgstr ""
76+ "從 *string* 及其長度 *len* 建立一個新的位元組陣列物件。若失敗則回傳 ``NULL``。"
6777
6878#: ../../c-api/bytearray.rst:54
6979msgid ""
7080"Concat bytearrays *a* and *b* and return a new bytearray with the result."
71- msgstr ""
81+ msgstr "連接位元組陣列 *a* 和 *b*,並回傳一個包含結果的新位元組陣列。 "
7282
7383#: ../../c-api/bytearray.rst:59
7484msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer."
75- msgstr ""
85+ msgstr "在檢查為 ``NULL`` 指標後,回傳 *bytearray* 的大小。 "
7686
7787#: ../../c-api/bytearray.rst:64
7888msgid ""
7989"Return the contents of *bytearray* as a char array after checking for a "
8090"``NULL`` pointer. The returned array always has an extra null byte appended."
8191msgstr ""
92+ "在檢查是否為 ``NULL`` 指標後,將 *bytearray* 的內容回傳為字元陣列。回傳的陣列"
93+ "總是會多附加一個空位元組。"
8294
8395#: ../../c-api/bytearray.rst:71
8496msgid "Resize the internal buffer of *bytearray* to *len*."
85- msgstr ""
97+ msgstr "將 *bytearray* 的內部緩衝區大小調整為 *len*。 "
8698
8799#: ../../c-api/bytearray.rst:74
88100msgid "Macros"
89101msgstr "巨集"
90102
91103#: ../../c-api/bytearray.rst:76
92104msgid "These macros trade safety for speed and they don't check pointers."
93- msgstr ""
105+ msgstr "這些巨集犧牲了安全性以換取速度,並且它們不會檢查指標。 "
94106
95107#: ../../c-api/bytearray.rst:80
96108msgid "Similar to :c:func:`PyByteArray_AsString`, but without error checking."
97- msgstr ""
109+ msgstr "與 :c:func:`PyByteArray_AsString` 類似,但沒有錯誤檢查。 "
98110
99111#: ../../c-api/bytearray.rst:85
100112msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking."
101- msgstr ""
113+ msgstr "與 :c:func:`PyByteArray_Size` 類似,但沒有錯誤檢查。 "
102114
103115#: ../../c-api/bytearray.rst:8
104116msgid "object"
105117msgstr "object(物件)"
106118
107119#: ../../c-api/bytearray.rst:8
108120msgid "bytearray"
109- msgstr "bytearray(位元組串列 )"
121+ msgstr "bytearray(位元組陣列 )"