Skip to content

Commit 68dc76f

Browse files
Iterator translate (#621)
Co-authored-by: bananaiselite <dashcamp057@gmail.com>
1 parent 6c888e5 commit 68dc76f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

c-api/iterator.po

+6-4
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,19 @@ msgid ""
3131
"value, calling the callable for each item in the sequence, and ending the "
3232
"iteration when the sentinel value is returned."
3333
msgstr ""
34-
"Python 提供了兩種通用的疊代器 (Iterator) 物件,第一種是序列 (sequence)。疊代"
35-
"器能夠與有支援 :meth:`~object.__getitem__` 方法的任意序列使用,第二種是與可呼"
36-
" (callable) 物件和哨兵值 (sentinel value) 一起使用,會呼叫序列中的每個可呼"
37-
"叫物件,當回傳哨兵值時就結束疊代。"
34+
"Python 提供了兩種通用的疊代器 (iterator) 物件,第一種是序列疊代器 (sequence "
35+
"iterator),適用於支援 :meth:`~object.__getitem__` 方法的任意序列,第二種是與"
36+
"可呼叫 (callable) 物件和哨兵值 (sentinel value) 一起使用,會呼叫序列中的每個"
37+
"可呼叫物件,當回傳哨兵值時就結束疊代。"
3838

3939
#: ../../c-api/iterator.rst:17
4040
msgid ""
4141
"Type object for iterator objects returned by :c:func:`PySeqIter_New` and the "
4242
"one-argument form of the :func:`iter` built-in function for built-in "
4343
"sequence types."
4444
msgstr ""
45+
"此型別物件用於由 :c:func:`PySeqIter_New` 所回傳的疊代器物件以及用於內建序列型"
46+
"別的內建函式 :func:`iter` 的單引數形式。"
4547

4648
#: ../../c-api/iterator.rst:24
4749
msgid ""

0 commit comments

Comments
 (0)