@@ -28,7 +28,7 @@ msgstr "切片物件"
28
28
msgid ""
29
29
"The type object for slice objects. This is the same as :class:`slice` in "
30
30
"the Python layer."
31
- msgstr "slice物件的類型物件 。這與 Python 層中的 :class:`slice` 相同。"
31
+ msgstr "slice物件的型別物件 。這與 Python 層中的 :class:`slice` 相同。"
32
32
33
33
#: ../../c-api/slice.rst:17
34
34
msgid ""
@@ -52,7 +52,7 @@ msgstr ""
52
52
msgid ""
53
53
"Return ``NULL`` with an exception set if the new object could not be "
54
54
"allocated."
55
- msgstr "如果無法分配新物件,則回傳 ``NULL``並設定異常 。"
55
+ msgstr "如果無法分配新物件,則回傳 ``NULL``並設定例外 。"
56
56
57
57
#: ../../c-api/slice.rst:34
58
58
msgid ""
@@ -69,8 +69,8 @@ msgid ""
69
69
"one of the indices was not ``None`` and failed to be converted to an "
70
70
"integer,in which case ``-1`` is returned with an exception set)."
71
71
msgstr ""
72
- "成功時回傳 ``0``,錯誤時回傳 ``-1``,並無異常設定 ( 除非其中一個索引不是 "
73
- "``None` 並且未能轉換成整數,在這種情況下會回傳 ``-1`,並有異常設定) 。"
72
+ "成功時回傳 ``0``,錯誤時回傳 ``-1``,並無例外設定( 除非其中一個索引不是 "
73
+ "``None` 並且未能轉換成整數,在這種情況下會回傳 ``-1`,並有設定例外) 。"
74
74
75
75
#: ../../c-api/slice.rst:42
76
76
msgid "You probably do not want to use this function."
@@ -79,7 +79,7 @@ msgstr "你可能不想使用此功能。"
79
79
#: ../../c-api/slice.rst:44 ../../c-api/slice.rst:75
80
80
msgid ""
81
81
"The parameter type for the *slice* parameter was ``PySliceObject*`` before."
82
- msgstr "之前 *slice*的參數類型是 ``PySliceObject*`` 。"
82
+ msgstr "之前 *slice*的參數型別是 ``PySliceObject*`` 。"
83
83
84
84
#: ../../c-api/slice.rst:51
85
85
msgid ""
@@ -105,7 +105,7 @@ msgid ""
105
105
msgstr ""
106
106
"這個函式對於可調整大小的序列並不安全。它的呼叫應該"
107
107
"被 :c:func:`PySlice_Unpack` 和 :c:func:`PySlice_AdjustIndices` 的組合取代,其"
108
- "中 :: "
108
+ "中: :: "
109
109
110
110
#: ../../c-api/slice.rst:64
111
111
msgid ""
@@ -154,7 +154,7 @@ msgstr ""
154
154
"以 C 整數的形式從 slice 物件中抽取 start、stop 及 step 資料成員。將大於 "
155
155
"`PY_SSIZE_T_MAX`` 的值靜默減少為 `PY_SSIZE_T_MAX``,將小於 `PY_SSIZE_T_MIN`` "
156
156
"的 start 和 stop 值靜默提升為 `PY_SSIZE_T_MIN``,將小於 `-PY_SSIZE_T_MAX`` "
157
- "的 step 值靜默提升為 `-PY_SSIZE_T_MAX``。"
157
+ "的 step 值靜默提升為 `` -PY_SSIZE_T_MAX``。"
158
158
159
159
#: ../../c-api/slice.rst:100
160
160
msgid "Return ``-1`` with an exception set on error,``0`` on success."
@@ -184,7 +184,7 @@ msgid ""
184
184
"The type of Python :const:`Ellipsis` object. Same "
185
185
"as :class:`types.EllipsisType` in the Python layer."
186
186
msgstr ""
187
- "Python :const:`Ellipsis`物件的類型 。與 Python 層中"
187
+ "Python :const:`Ellipsis`物件的型別 。與 Python 層中"
188
188
"的 :class:`types.EllipsisType` 相同。"
189
189
190
190
#: ../../c-api/slice.rst:129