Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3fce0d0

Browse files
Apply suggestions from code review
Co-authored-by: W. H. Wang <mattwang44@gmail.com>
1 parent41dc993 commit3fce0d0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎c-api/slice.po‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ msgstr "切片物件"
2828
msgid""
2929
"The type object for slice objects. This is the same as :class:`slice` in "
3030
"the Python layer."
31-
msgstr"slice物件的類型物件。這與 Python 層中的 :class:`slice` 相同。"
31+
msgstr"slice物件的型別物件。這與 Python 層中的 :class:`slice` 相同。"
3232

3333
#:../../c-api/slice.rst:17
3434
msgid""
@@ -52,7 +52,7 @@ msgstr ""
5252
msgid""
5353
"Return ``NULL`` with an exception set if the new object could not be "
5454
"allocated."
55-
msgstr"如果無法分配新物件,則回傳 ``NULL``並設定異常。"
55+
msgstr"如果無法分配新物件,則回傳 ``NULL``並設定例外。"
5656

5757
#:../../c-api/slice.rst:34
5858
msgid""
@@ -69,8 +69,8 @@ msgid ""
6969
"one of the indices was not ``None`` and failed to be converted to an "
7070
"integer,in which case ``-1`` is returned with an exception set)."
7171
msgstr""
72-
"成功時回傳 ``0``,錯誤時回傳 ``-1``,並無異常設定 (除非其中一個索引不是 "
73-
"``None` 並且未能轉換成整數,在這種情況下會回傳 ``-1`,並有異常設定)。"
72+
"成功時回傳 ``0``,錯誤時回傳 ``-1``,並無例外設定(除非其中一個索引不是 "
73+
"``None` 並且未能轉換成整數,在這種情況下會回傳 ``-1`,並有設定例外)。"
7474

7575
#:../../c-api/slice.rst:42
7676
msgid"You probably do not want to use this function."
@@ -79,7 +79,7 @@ msgstr "你可能不想使用此功能。"
7979
#:../../c-api/slice.rst:44../../c-api/slice.rst:75
8080
msgid""
8181
"The parameter type for the *slice* parameter was ``PySliceObject*`` before."
82-
msgstr"之前 *slice*的參數類型是 ``PySliceObject*`` 。"
82+
msgstr"之前 *slice*的參數型別是 ``PySliceObject*`` 。"
8383

8484
#:../../c-api/slice.rst:51
8585
msgid""
@@ -105,7 +105,7 @@ msgid ""
105105
msgstr""
106106
"這個函式對於可調整大小的序列並不安全。它的呼叫應該"
107107
"被 :c:func:`PySlice_Unpack` 和 :c:func:`PySlice_AdjustIndices` 的組合取代,其"
108-
"中 ::"
108+
"中: ::"
109109

110110
#:../../c-api/slice.rst:64
111111
msgid""
@@ -154,7 +154,7 @@ msgstr ""
154154
"以 C 整數的形式從 slice 物件中抽取 start、stop 及 step 資料成員。將大於 "
155155
"`PY_SSIZE_T_MAX`` 的值靜默減少為 `PY_SSIZE_T_MAX``,將小於 `PY_SSIZE_T_MIN`` "
156156
"的 start 和 stop 值靜默提升為 `PY_SSIZE_T_MIN``,將小於 `-PY_SSIZE_T_MAX`` "
157-
"的 step 值靜默提升為 `-PY_SSIZE_T_MAX``。"
157+
"的 step 值靜默提升為 ``-PY_SSIZE_T_MAX``。"
158158

159159
#:../../c-api/slice.rst:100
160160
msgid"Return ``-1`` with an exception set on error,``0`` on success."
@@ -184,7 +184,7 @@ msgid ""
184184
"The type of Python :const:`Ellipsis` object. Same "
185185
"as :class:`types.EllipsisType` in the Python layer."
186186
msgstr""
187-
"Python :const:`Ellipsis`物件的類型。與 Python 層中"
187+
"Python :const:`Ellipsis`物件的型別。與 Python 層中"
188188
"的 :class:`types.EllipsisType` 相同。"
189189

190190
#:../../c-api/slice.rst:129

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp