Skip to content

Commit

Permalink
0506_modify review V
Browse files Browse the repository at this point in the history
  • Loading branch information
beccalzh committed May 6, 2024
1 parent 9c9846b commit ecdb3d8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions library/stdtypes.po
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ msgid ""
"implement the :meth:`__contains__` method."
msgstr ""
"此外,擁有相同的語法優先序的 :keyword:`in` 及 :keyword:`not in` 兩種運算皆被"
" :term:`可疊代性 <iterable>` 或者有實作 :meth:`__contains__` method 的型別所支援。"
"\\ :term:`可疊代物件 <iterable>`\\ 或者有實作 :meth:`__contains__` method 的型別所支援。"

#: ../../library/stdtypes.rst:205
msgid "Numeric Types --- :class:`int`, :class:`float`, :class:`complex`"
Expand Down Expand Up @@ -842,7 +842,7 @@ msgid ""
"The int type implements the :class:`numbers.Integral` :term:`abstract base "
"class`. In addition, it provides a few more methods:"
msgstr ""
"整數型別實作了 :class:`numbers.Integral` :term:`抽象類別 <abstract base class>`"
"整數型別實作了 :class:`numbers.Integral`\\ :term:`抽象基底類別 <abstract base class>`\\ "
"。此外,它提供了一些 methods:"

#: ../../library/stdtypes.rst:457
Expand Down Expand Up @@ -941,7 +941,7 @@ msgid ""
"The argument *bytes* must either be a :term:`bytes-like object` or an "
"iterable producing bytes."
msgstr ""
"引數 *bytes* 必須是一個 :term:`類位元組物件 <bytes-like object>`"
"引數 *bytes* 必須是一個\\ :term:`類位元組物件 <bytes-like object>`\\ "
"或是一個產生位元組的可疊代物件。"

#: ../../library/stdtypes.rst:574
Expand Down Expand Up @@ -992,7 +992,7 @@ msgid ""
"The float type implements the :class:`numbers.Real` :term:`abstract base "
"class`. float also has the following additional methods."
msgstr ""
"浮點數型別實作了 :class:`numbers.Real` :term:`抽象類別 <abstract base class>`"
"浮點數型別實作了 :class:`numbers.Real`\\ :term:`抽象類別 <abstract base class>`\\ "
"。浮點數也有下列附加 methods。"

#: ../../library/stdtypes.rst:627
Expand Down Expand Up @@ -1259,7 +1259,7 @@ msgstr ""
msgid ""
"One method needs to be defined for container objects to provide :term:"
"`iterable` support:"
msgstr "需要為容器物件定義一個 method 來提供 :term:`可疊代性 <iterable>` 支援:"
msgstr "需要為容器物件定義一個 method 來提供\\ :term:`可疊代物件 <iterable>`\\ 支援:"

#: ../../library/stdtypes.rst:861
msgid ""
Expand All @@ -1272,7 +1272,7 @@ msgid ""
"member:`~PyTypeObject.tp_iter` slot of the type structure for Python objects "
"in the Python/C API."
msgstr ""
"回傳一個 :term:`疊代器 <iterator>` 物件。該物件需要支援下述的疊代器協定。如果一個容器"
"回傳一個\\ :term:`疊代器 <iterator>`\\ 物件。該物件需要支援下述的疊代器協定。如果一個容器"
"支援不同型別的疊代,則可以提供額外的 methods 來專門請求這些疊代型別的疊代器。(支"
"援多種形式疊代的物件的一個例子是支援廣度優先和深度優先遍歷的樹結構。)此 method "
"對應 Python/C API 中 Python 物件的型別結構的 :c:member:`~PyTypeObject."
Expand All @@ -1292,7 +1292,7 @@ msgid ""
"`in` statements. This method corresponds to the :c:member:`~PyTypeObject."
"tp_iter` slot of the type structure for Python objects in the Python/C API."
msgstr ""
"回傳 :term:`疊代器 <iterator>` 物件本身。這是為了允許容器和疊代器都可以與 :keyword:"
"回傳\\ :term:`疊代器 <iterator>`\\ 物件本身。這是為了允許容器和疊代器都可以與 :keyword:"
"`for` 和 :keyword:`in` 在陳述式中使用。此 method 對應於 Python/C API 中 Python 物件的型"
"別結構的 :c:member:`~PyTypeObject.tp_iter` 插槽。"

Expand All @@ -1303,7 +1303,7 @@ msgid ""
"the :c:member:`~PyTypeObject.tp_iternext` slot of the type structure for "
"Python objects in the Python/C API."
msgstr ""
"從 :term:`疊代器 <iterator>` 回傳下一個項目。如果沒有更多項目,則引發 :exc:"
"從\\ :term:`疊代器 <iterator>`\\ 回傳下一個項目。如果沒有更多項目,則引發 :exc:"
"`StopIteration` 例外。此 method 對應於 Python/C API 中Python 物件的型別結構的 :c:"
"member:`~PyTypeObject.tp_iternext` 插槽。"

Expand Down

0 comments on commit ecdb3d8

Please sign in to comment.