Skip to content

Commit 59123a6

Browse files
committed
modify language and correct the format.
1 parent 90c4f49 commit 59123a6

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)