Skip to content

Commit 0e1890a

Browse files
committed
new commit
1 parent c8fa7a6 commit 0e1890a

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

c-api/iterator.po

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2001-2022, Python Software Foundation
3+
# This file is distributed under the same license as the Python package.
4+
#
5+
# Translators:
6+
# Leon H., 2017
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Python 3.12\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2023-07-24 00:03+0000\n"
12+
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
13+
"Last-Translator: Leon H.\n"
14+
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
15+
"tw)\n"
16+
"Language: zh_TW\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
"Plural-Forms: nplurals=1; plural=0;\n"
21+
22+
#: ../../c-api/iterator.rst:6
23+
msgid "Iterator Objects"
24+
msgstr "疊代器(Iterator)物件"
25+
26+
#: ../../c-api/iterator.rst:8
27+
msgid ""
28+
"Python provides two general-purpose iterator objects. The first, a sequence "
29+
"iterator, works with an arbitrary sequence supporting the :meth:`~object."
30+
"__getitem__` method. The second works with a callable object and a sentinel "
31+
"value, calling the callable for each item in the sequence, and ending the "
32+
"iteration when the sentinel value is returned."
33+
msgstr ""
34+
35+
#: ../../c-api/iterator.rst:17
36+
msgid ""
37+
"Type object for iterator objects returned by :c:func:`PySeqIter_New` and the "
38+
"one-argument form of the :func:`iter` built-in function for built-in "
39+
"sequence types."
40+
msgstr ""
41+
42+
#: ../../c-api/iterator.rst:24
43+
msgid ""
44+
"Return true if the type of *op* is :c:data:`PySeqIter_Type`. This function "
45+
"always succeeds."
46+
msgstr ""
47+
48+
#: ../../c-api/iterator.rst:30
49+
msgid ""
50+
"Return an iterator that works with a general sequence object, *seq*. The "
51+
"iteration ends when the sequence raises :exc:`IndexError` for the "
52+
"subscripting operation."
53+
msgstr ""
54+
55+
#: ../../c-api/iterator.rst:37
56+
msgid ""
57+
"Type object for iterator objects returned by :c:func:`PyCallIter_New` and "
58+
"the two-argument form of the :func:`iter` built-in function."
59+
msgstr ""
60+
61+
#: ../../c-api/iterator.rst:43
62+
msgid ""
63+
"Return true if the type of *op* is :c:data:`PyCallIter_Type`. This function "
64+
"always succeeds."
65+
msgstr ""
66+
67+
#: ../../c-api/iterator.rst:49
68+
msgid ""
69+
"Return a new iterator. The first parameter, *callable*, can be any Python "
70+
"callable object that can be called with no parameters; each call to it "
71+
"should return the next item in the iteration. When *callable* returns a "
72+
"value equal to *sentinel*, the iteration will be terminated."
73+
msgstr ""

0 commit comments

Comments
 (0)