Skip to content

Iterator translate #621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions c-api/iterator.po
Original file line number Diff line number Diff line change
@@ -31,17 +31,19 @@ msgid ""
"value, calling the callable for each item in the sequence, and ending the "
"iteration when the sentinel value is returned."
msgstr ""
"Python 提供了兩種通用的疊代器 (Iterator) 物件,第一種是序列 (sequence)。疊代"
"器能夠與有支援 :meth:`~object.__getitem__` 方法的任意序列使用,第二種是與可呼"
" (callable) 物件和哨兵值 (sentinel value) 一起使用,會呼叫序列中的每個可呼"
"叫物件,當回傳哨兵值時就結束疊代。"
"Python 提供了兩種通用的疊代器 (iterator) 物件,第一種是序列疊代器 (sequence "
"iterator),適用於支援 :meth:`~object.__getitem__` 方法的任意序列,第二種是與"
"可呼叫 (callable) 物件和哨兵值 (sentinel value) 一起使用,會呼叫序列中的每個"
"可呼叫物件,當回傳哨兵值時就結束疊代。"

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

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