From 3406d08bde1c63dd5b549c65a99e40063f432c5e Mon Sep 17 00:00:00 2001 From: bananaiselite Date: Sat, 5 Aug 2023 16:43:59 +0800 Subject: [PATCH 1/4] Working on iterator.po tst:8 --- c-api/iterator.po | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/c-api/iterator.po b/c-api/iterator.po index 805a6ed7bb..ce748d4c41 100644 --- a/c-api/iterator.po +++ b/c-api/iterator.po @@ -30,7 +30,11 @@ msgid "" "__getitem__` method. The second works with a callable object and a sentinel " "value, calling the callable for each item in the sequence, and ending the " "iteration when the sentinel value is returned." -msgstr "" +msgstr "Python提供了兩種通用的疊代器(Iterator)物件,第一種是序列(sequence)。疊代器" +"能夠與支援:meth:`~object.__getitem__`方法的隨意的序列使用,第二種是與可調用" +"(callable)物件和番兵(sentinel value)一起使用。會調用序列中的每個可調用對象," +"當返回番兵時,就結束疊代。" + #: ../../c-api/iterator.rst:17 msgid "" From 11df3a60108838e42b72a5a2378ab37e9599ad54 Mon Sep 17 00:00:00 2001 From: bananaiselite Date: Sun, 6 Aug 2023 17:35:23 +0800 Subject: [PATCH 2/4] modify the missused parts --- c-api/iterator.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/c-api/iterator.po b/c-api/iterator.po index ce748d4c41..9ca2fecf35 100644 --- a/c-api/iterator.po +++ b/c-api/iterator.po @@ -30,11 +30,11 @@ msgid "" "__getitem__` method. The second works with a callable object and a sentinel " "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)一起使用。會調用序列中的每個可調用對象," -"當返回番兵時,就結束疊代。" - +msgstr "" +"Python提供了兩種通用的疊代器(Iterator)物件,第一種是序列(sequence)。疊代器" +"能夠與支援:meth:`~object.__getitem__`方法的隨意的序列使用,第二種是與可呼叫" +"(callable)物件和哨兵值(sentinel value)一起使用。會呼叫序列中的每個可呼叫對" +"象,當回傳哨兵值時,就結束疊代。" #: ../../c-api/iterator.rst:17 msgid "" From 20498d1e775b89ec76e0f8d268ca3aa51a985b32 Mon Sep 17 00:00:00 2001 From: bananaiselite Date: Tue, 15 Aug 2023 21:50:33 +0800 Subject: [PATCH 3/4] new commit --- c-api/iterator.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/c-api/iterator.po b/c-api/iterator.po index 9ca2fecf35..bd7c5b2817 100644 --- a/c-api/iterator.po +++ b/c-api/iterator.po @@ -31,10 +31,10 @@ 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)。疊代" +"器能夠與有支援:meth:`~object.__getitem__`方法的任意序列使用,第二種是與可呼" +"叫 (callable) 物件和哨兵值 (sentinel value) 一起使用,會呼叫序列中的每個可呼" +"叫物件,當回傳哨兵值時就結束疊代。" #: ../../c-api/iterator.rst:17 msgid "" From 74dabb6e711a26cff6163ebdab06319f8c5b1a2d Mon Sep 17 00:00:00 2001 From: bananaiselite Date: Tue, 15 Aug 2023 21:56:07 +0800 Subject: [PATCH 4/4] new commit --- c-api/iterator.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/iterator.po b/c-api/iterator.po index bd7c5b2817..b64f1214b2 100644 --- a/c-api/iterator.po +++ b/c-api/iterator.po @@ -32,7 +32,7 @@ msgid "" "iteration when the sentinel value is returned." msgstr "" "Python 提供了兩種通用的疊代器 (Iterator) 物件,第一種是序列 (sequence)。疊代" -"器能夠與有支援:meth:`~object.__getitem__`方法的任意序列使用,第二種是與可呼" +"器能夠與有支援 :meth:`~object.__getitem__` 方法的任意序列使用,第二種是與可呼" "叫 (callable) 物件和哨兵值 (sentinel value) 一起使用,會呼叫序列中的每個可呼" "叫物件,當回傳哨兵值時就結束疊代。"