-
-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathiterator.po
More file actions
186 lines (162 loc) · 6.62 KB
/
Copy pathiterator.po
File metadata and controls
186 lines (162 loc) · 6.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2025, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-19 15:26+0000\n"
"PO-Revision-Date: 2025-09-15 01:03+0000\n"
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
"teams/5390/pt_BR/)\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % "
"1000000 == 0 ? 1 : 2;\n"
#: ../../c-api/iterator.rst:6
msgid "Iterator Objects"
msgstr "Objetos Iteradores"
#: ../../c-api/iterator.rst:8
msgid ""
"Python provides two general-purpose iterator objects. The first, a sequence "
"iterator, works with an arbitrary sequence supporting the :meth:`~object."
"__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 ""
"O Python fornece dois objetos iteradores de propósito geral. O primeiro, um "
"iterador de sequência, trabalha com uma sequência arbitrária suportando o "
"método :meth:`~object.__getitem__`. O segundo trabalha com um objeto "
"chamável e um valor de sentinela, chamando o chamável para cada item na "
"sequência e finalizando a iteração quando o valor de sentinela é retornado."
#: ../../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 ""
"Objeto de tipo para objetos iteradores retornados por :c:func:"
"`PySeqIter_New` e a forma de um argumento da função embutida :func:`iter` "
"para os tipos de sequência embutidos."
#: ../../c-api/iterator.rst:24
msgid ""
"Return true if the type of *op* is :c:data:`PySeqIter_Type`. This function "
"always succeeds."
msgstr ""
"Retorna true se o tipo de *op* for :c:data:`PySeqIter_Type`. Esta função "
"sempre é bem-sucedida."
#: ../../c-api/iterator.rst:30
msgid ""
"Return an iterator that works with a general sequence object, *seq*. The "
"iteration ends when the sequence raises :exc:`IndexError` for the "
"subscripting operation."
msgstr ""
"Retorna um iterador que funcione com um objeto de sequência geral, *seq*. A "
"iteração termina quando a sequência levanta :exc:`IndexError` para a "
"operação de assinatura."
#: ../../c-api/iterator.rst:37
msgid ""
"Type object for iterator objects returned by :c:func:`PyCallIter_New` and "
"the two-argument form of the :func:`iter` built-in function."
msgstr ""
"Objeto de tipo para objetos iteradores retornados por :c:func:"
"`PyCallIter_New` e a forma de dois argumentos da função embutida :func:"
"`iter`."
#: ../../c-api/iterator.rst:43
msgid ""
"Return true if the type of *op* is :c:data:`PyCallIter_Type`. This function "
"always succeeds."
msgstr ""
"Retorna true se o tipo de *op* for :c:data:`PyCallIter_Type`. Esta função "
"sempre é bem-sucedida."
#: ../../c-api/iterator.rst:49
msgid ""
"Return a new iterator. The first parameter, *callable*, can be any Python "
"callable object that can be called with no parameters; each call to it "
"should return the next item in the iteration. When *callable* returns a "
"value equal to *sentinel*, the iteration will be terminated."
msgstr ""
"Retorna um novo iterador. O primeiro parâmetro, *callable*, pode ser "
"qualquer objeto chamável do Python que possa ser chamado sem parâmetros; "
"cada chamada deve retornar o próximo item na iteração. Quando *callable* "
"retorna um valor igual a *sentinel*, a iteração será encerrada."
#: ../../c-api/iterator.rst:56
msgid "Range Objects"
msgstr "Objetos intervalo"
#: ../../c-api/iterator.rst:60
msgid "The type object for :class:`range` objects."
msgstr "O objeto tipo para objetos :class:`range`."
#: ../../c-api/iterator.rst:65
msgid ""
"Return true if the object *o* is an instance of a :class:`range` object. "
"This function always succeeds."
msgstr ""
"Retorna verdadeiro se o objeto *op* for uma instância de um objeto :class:"
"`range`. Esta função sempre tem sucesso."
#: ../../c-api/iterator.rst:70
msgid "Builtin Iterator Types"
msgstr "Tipos de iteradores embutidos"
#: ../../c-api/iterator.rst:72
msgid ""
"These are built-in iteration types that are included in Python's C API, but "
"provide no additional functions. They are here for completeness."
msgstr ""
"Esses são tipos de iteração embutidos que estão incluídos na API C do "
"Python, mas não fornecem funções adicionais. Eles estão aqui para fins de "
"completude."
#: ../../c-api/iterator.rst:80
msgid "C type"
msgstr "Tipo em C"
#: ../../c-api/iterator.rst:81
msgid "Python type"
msgstr "Tipo em Python"
#: ../../c-api/iterator.rst:83
msgid ":py:class:`enumerate`"
msgstr ":py:class:`enumerate`"
#: ../../c-api/iterator.rst:85
msgid ":py:class:`filter`"
msgstr ":py:class:`filter`"
#: ../../c-api/iterator.rst:87
msgid ":py:class:`map`"
msgstr ":py:class:`map`"
#: ../../c-api/iterator.rst:89
msgid ":py:class:`reversed`"
msgstr ":py:class:`reversed`"
#: ../../c-api/iterator.rst:91
msgid ":py:class:`zip`"
msgstr ":py:class:`zip`"
#: ../../c-api/iterator.rst:95
msgid "Other Iterator Objects"
msgstr "Outros objetos iteradores"
#: ../../c-api/iterator.rst:113
msgid "Type objects for iterators of various built-in objects."
msgstr "Objetos de tipo para iteradores de vários objetos embutidos."
#: ../../c-api/iterator.rst:115
msgid ""
"Do not create instances of these directly; prefer calling :c:func:"
"`PyObject_GetIter` instead."
msgstr ""
"Não cria instâncias dessas diretamente; prefira chamar :c:func:"
"`PyObject_GetIter` em vez disso."
#: ../../c-api/iterator.rst:118
msgid ""
"Note that there is no guarantee that a given built-in type uses a given "
"iterator type. For example, iterating over :class:`range` will use one of "
"two iterator types depending on the size of the range. Other types may start "
"using a similar scheme in the future, without warning."
msgstr ""
"Note que não há garantia de que um determinado tipo embutido utilize um "
"determinado tipo de iterador. Por exemplo, iterar sobre um :class:`range` "
"utilizará um de dois tipos de iterador, dependendo do tamanho do intervalo. "
"Outros tipos podem começar a usar um esquema semelhante no futuro, sem aviso "
"prévio."