Skip to content

Commit 7c0cb51

Browse files
Working on iterator.po tst:8 (#546)
* Working on iterator.po tst:8 * modify the missused parts * new commit * new commit --------- Co-authored-by: bananaiselite <dashcamp057@gmail.com>
1 parent 732575d commit 7c0cb51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

c-api/iterator.po

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ 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+
"叫物件,當回傳哨兵值時就結束疊代。"
3438

3539
#: ../../c-api/iterator.rst:17
3640
msgid ""

0 commit comments

Comments
 (0)