@@ -8,7 +8,7 @@ msgstr ""
8
8
"Project-Id-Version : Python 3.12\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
10
"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 "
12
12
"
Last-Translator :
Liang-Bo Wang <[email protected] >\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
14
"tw)\n "
@@ -17,93 +17,105 @@ msgstr ""
17
17
"Content-Type : text/plain; charset=UTF-8\n "
18
18
"Content-Transfer-Encoding : 8bit\n "
19
19
"Plural-Forms : nplurals=1; plural=0;\n "
20
+ "X-Generator : Poedit 3.3.2\n "
20
21
21
22
#: ../../c-api/bytearray.rst:6
22
23
msgid "Byte Array Objects"
23
- msgstr "位元組串列物件 (Byte Array Objects)"
24
+ msgstr "位元組陣列物件 (Byte Array Objects)"
24
25
25
26
#: ../../c-api/bytearray.rst:13
26
27
msgid ""
27
28
"This subtype of :c:type:`PyObject` represents a Python bytearray object."
28
- msgstr ""
29
+ msgstr "這個 :c:type:`PyObject` 的子型別代表了 Python 的位元組陣列物件。 "
29
30
30
31
#: ../../c-api/bytearray.rst:18
31
32
msgid ""
32
33
"This instance of :c:type:`PyTypeObject` represents the Python bytearray "
33
34
"type; it is the same object as :class:`bytearray` in the Python layer."
34
35
msgstr ""
36
+ "這個 :c:type:`PyTypeObject` 的實例代表了 Python 的位元組陣列型別;在 Python 層"
37
+ "中的 :class:`bytearray` 為同一個物件。"
35
38
36
39
#: ../../c-api/bytearray.rst:23
37
40
msgid "Type check macros"
38
- msgstr ""
41
+ msgstr "型別檢查巨集 "
39
42
40
43
#: ../../c-api/bytearray.rst:27
41
44
msgid ""
42
45
"Return true if the object *o* is a bytearray object or an instance of a "
43
46
"subtype of the bytearray type. This function always succeeds."
44
47
msgstr ""
48
+ "如果物件 *o* 是一個位元組陣列物件,或者是位元組陣列型別的子型別的實例,則回傳真"
49
+ "值。此函式總是會成功執行。"
45
50
46
51
#: ../../c-api/bytearray.rst:33
47
52
msgid ""
48
53
"Return true if the object *o* is a bytearray object, but not an instance of "
49
54
"a subtype of the bytearray type. This function always succeeds."
50
55
msgstr ""
56
+ "如果物件 *o* 是一個位元組陣列物件,但不是位元組陣列型別的子型別的實例,則回傳真"
57
+ "值。此函式總是會成功執行。"
51
58
52
59
#: ../../c-api/bytearray.rst:38
53
60
msgid "Direct API functions"
54
- msgstr ""
61
+ msgstr "直接 API 函式 "
55
62
56
63
#: ../../c-api/bytearray.rst:42
57
64
msgid ""
58
65
"Return a new bytearray object from any object, *o*, that implements the :ref:"
59
66
"`buffer protocol <bufferobjects>`."
60
67
msgstr ""
68
+ "由任意物件 *o* 回傳一個新的位元組陣列物件,並實作了\\ :ref:`緩衝協議 (buffer "
69
+ "protocol) <bufferobjects>`\\ 。"
61
70
62
71
#: ../../c-api/bytearray.rst:48
63
72
msgid ""
64
73
"Create a new bytearray object from *string* and its length, *len*. On "
65
74
"failure, ``NULL`` is returned."
66
75
msgstr ""
76
+ "從 *string* 及其長度 *len* 建立一個新的位元組陣列物件。若失敗則回傳 ``NULL``。"
67
77
68
78
#: ../../c-api/bytearray.rst:54
69
79
msgid ""
70
80
"Concat bytearrays *a* and *b* and return a new bytearray with the result."
71
- msgstr ""
81
+ msgstr "連接位元組陣列 *a* 和 *b*,並回傳一個包含結果的新位元組陣列。 "
72
82
73
83
#: ../../c-api/bytearray.rst:59
74
84
msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer."
75
- msgstr ""
85
+ msgstr "在檢查為 ``NULL`` 指標後,回傳 *bytearray* 的大小。 "
76
86
77
87
#: ../../c-api/bytearray.rst:64
78
88
msgid ""
79
89
"Return the contents of *bytearray* as a char array after checking for a "
80
90
"``NULL`` pointer. The returned array always has an extra null byte appended."
81
91
msgstr ""
92
+ "在檢查是否為 ``NULL`` 指標後,將 *bytearray* 的內容回傳為字元陣列。回傳的陣列"
93
+ "總是會多附加一個空位元組。"
82
94
83
95
#: ../../c-api/bytearray.rst:71
84
96
msgid "Resize the internal buffer of *bytearray* to *len*."
85
- msgstr ""
97
+ msgstr "將 *bytearray* 的內部緩衝區大小調整為 *len*。 "
86
98
87
99
#: ../../c-api/bytearray.rst:74
88
100
msgid "Macros"
89
101
msgstr "巨集"
90
102
91
103
#: ../../c-api/bytearray.rst:76
92
104
msgid "These macros trade safety for speed and they don't check pointers."
93
- msgstr ""
105
+ msgstr "這些巨集犧牲了安全性以換取速度,並且它們不會檢查指標。 "
94
106
95
107
#: ../../c-api/bytearray.rst:80
96
108
msgid "Similar to :c:func:`PyByteArray_AsString`, but without error checking."
97
- msgstr ""
109
+ msgstr "與 :c:func:`PyByteArray_AsString` 類似,但沒有錯誤檢查。 "
98
110
99
111
#: ../../c-api/bytearray.rst:85
100
112
msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking."
101
- msgstr ""
113
+ msgstr "與 :c:func:`PyByteArray_Size` 類似,但沒有錯誤檢查。 "
102
114
103
115
#: ../../c-api/bytearray.rst:8
104
116
msgid "object"
105
117
msgstr "object(物件)"
106
118
107
119
#: ../../c-api/bytearray.rst:8
108
120
msgid "bytearray"
109
- msgstr "bytearray(位元組串列 )"
121
+ msgstr "bytearray(位元組陣列 )"
0 commit comments