File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -31,17 +31,19 @@ msgid ""
31
31
"value, calling the callable for each item in the sequence, and ending the "
32
32
"iteration when the sentinel value is returned."
33
33
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
+ "可呼叫物件 ,當回傳哨兵值時就結束疊代。"
38
38
39
39
#: ../../c-api/iterator.rst:17
40
40
msgid ""
41
41
"Type object for iterator objects returned by :c:func:`PySeqIter_New` and the "
42
42
"one-argument form of the :func:`iter` built-in function for built-in "
43
43
"sequence types."
44
44
msgstr ""
45
+ "此型別物件用於由 :c:func:`PySeqIter_New` 所回傳的疊代器物件以及用於內建序列型"
46
+ "別的內建函式 :func:`iter` 的單引數形式。"
45
47
46
48
#: ../../c-api/iterator.rst:24
47
49
msgid ""
You can’t perform that action at this time.
0 commit comments