5
5
#
6
6
# Translators:
7
7
# Rafael Fontenelle <[email protected] >, 2023
8
+ # Jones Martins, 2024
8
9
#
9
10
#, fuzzy
10
11
msgid ""
11
12
msgstr ""
12
13
"Project-Id-Version : Python 3.8\n "
13
14
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2024-08-31 13:50 +0000\n "
15
+ "POT-Creation-Date : 2024-10-04 17:06 +0000\n "
15
16
"PO-Revision-Date : 2020-05-30 11:50+0000\n "
16
- "
Last-Translator :
Rafael Fontenelle <[email protected] >, 2023 \n"
17
+ "Last-Translator : Jones Martins, 2024 \n "
17
18
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
18
19
"teams/5390/pt_BR/)\n "
19
20
"MIME-Version : 1.0\n "
@@ -153,26 +154,37 @@ msgid ""
153
154
"number of keys for which ``o[key] == value``. On failure, return ``-1``. "
154
155
"This is equivalent to the Python expression ``o.count(value)``."
155
156
msgstr ""
157
+ "Retorna a quantidade de ocorrências de *value* em *o*, isto é, retorna a "
158
+ "quantidade de chaves onde ``o[key] == value``. Em caso de falha, retorna "
159
+ "``-1``. Isso equivale à expressão Python ``o.count(value)``."
156
160
157
161
#: ../../c-api/sequence.rst:103
158
162
msgid ""
159
163
"Determine if *o* contains *value*. If an item in *o* is equal to *value*, "
160
164
"return ``1``, otherwise return ``0``. On error, return ``-1``. This is "
161
165
"equivalent to the Python expression ``value in o``."
162
166
msgstr ""
167
+ "Determina se *o* contém *value*. Se um item em *o* for igual a *value*, "
168
+ "retorna ``1``, senão, retorna ``0``. Em caso de erro, retorna ``-1``. Isso "
169
+ "equivale à expressão Python ``value in o``."
163
170
164
171
#: ../../c-api/sequence.rst:110
165
172
msgid ""
166
173
"Return the first index *i* for which ``o[i] == value``. On error, return "
167
174
"``-1``. This is equivalent to the Python expression ``o.index(value)``."
168
175
msgstr ""
176
+ "Retorna o primeiro índice *i* tal que ``o[i] == value``. Em caso de erro, "
177
+ "retorna ``-1``. Isso equivale à expressão Python ``o.index(value)``."
169
178
170
179
#: ../../c-api/sequence.rst:116
171
180
msgid ""
172
181
"Return a list object with the same contents as the sequence or iterable *o*, "
173
182
"or ``NULL`` on failure. The returned list is guaranteed to be new. This is "
174
183
"equivalent to the Python expression ``list(o)``."
175
184
msgstr ""
185
+ "Retorna um objeto lista com o mesmo conteúdo da sequência ou iterável *o*, "
186
+ "ou ``NULL`` em caso de falha. Garante-se que a lista retornada será nova. "
187
+ "Isso equivale à expressão Python ``list(o)``."
176
188
177
189
#: ../../c-api/sequence.rst:125
178
190
msgid ""
@@ -181,6 +193,10 @@ msgid ""
181
193
"returned, otherwise a tuple will be constructed with the appropriate "
182
194
"contents. This is equivalent to the Python expression ``tuple(o)``."
183
195
msgstr ""
196
+ "Retorna o objeto tupla com o mesmo conteúdo da sequência ou iterável *o*, ou "
197
+ "``NULL``em caso de falha. Se *o* for uma tupla, retorna uma nova referência. "
198
+ "Senão, uma tupla será construída com o conteúdo apropriado. Isso equivale à "
199
+ "expressão Python ``tuple(o)``."
184
200
185
201
#: ../../c-api/sequence.rst:133
186
202
msgid ""
@@ -189,19 +205,28 @@ msgid ""
189
205
"iterable, raises :exc:`TypeError` with *m* as the message text. Returns "
190
206
"``NULL`` on failure."
191
207
msgstr ""
208
+ "Retorna a sequência ou iterável *o* como um objeto usável por outras funções "
209
+ "da família ``PySequence_Fast*``. Se o objeto não for uma sequência ou "
210
+ "iterável, levanta :exc:`TypeError` com *m* sendo o texto da mensagem. "
211
+ "Retorna ``NULL`` em caso de falha. "
192
212
193
213
#: ../../c-api/sequence.rst:138
194
214
msgid ""
195
215
"The ``PySequence_Fast*`` functions are thus named because they assume *o* is "
196
216
"a :c:type:`PyTupleObject` or a :c:type:`PyListObject` and access the data "
197
217
"fields of *o* directly."
198
218
msgstr ""
219
+ "As funções ``PySequence_Fast*`` têm esse nome porque supõem que *o* é um :c:"
220
+ "type:`PyTupleObject` ou um :c:type:`PyListObject` e porque acessam os campos "
221
+ "de dados de *o* diretamente."
199
222
200
223
#: ../../c-api/sequence.rst:142
201
224
msgid ""
202
225
"As a CPython implementation detail, if *o* is already a sequence or list, it "
203
226
"will be returned."
204
227
msgstr ""
228
+ "Como detalhe de implementação de CPython, se *o* já for uma sequência ou "
229
+ "lista, ele será retornado."
205
230
206
231
#: ../../c-api/sequence.rst:148
207
232
msgid ""
@@ -217,19 +242,27 @@ msgid ""
217
242
"Return the *i*\\ th element of *o*, assuming that *o* was returned by :c:"
218
243
"func:`PySequence_Fast`, *o* is not ``NULL``, and that *i* is within bounds."
219
244
msgstr ""
245
+ "Retorna o elemento *i* de *o*, presumindo que *o* foi retornado por :c:func:"
246
+ "`PySequence_Fast`, que *o* não seja ``NULL``, e que *i* esteja dentro dos "
247
+ "limites."
220
248
221
249
#: ../../c-api/sequence.rst:163
222
250
msgid ""
223
251
"Return the underlying array of PyObject pointers. Assumes that *o* was "
224
252
"returned by :c:func:`PySequence_Fast` and *o* is not ``NULL``."
225
253
msgstr ""
254
+ "Retorna o vetor subjacente de ponteiros PyObject. Presume que *o* foi "
255
+ "retornado por :c:func:`PySequence_Fast` e *o* não é ``NULL``."
226
256
227
257
#: ../../c-api/sequence.rst:166
228
258
msgid ""
229
259
"Note, if a list gets resized, the reallocation may relocate the items array. "
230
260
"So, only use the underlying array pointer in contexts where the sequence "
231
261
"cannot change."
232
262
msgstr ""
263
+ "Note que, se uma lista for redimensionada, a realocação poderá reposicionar "
264
+ "o vetor de itens. Portanto, só use o ponteiro de vetor subjacente em "
265
+ "contextos onde a sequência não mudará."
233
266
234
267
#: ../../c-api/sequence.rst:173
235
268
msgid ""
@@ -238,3 +271,6 @@ msgid ""
238
271
"`PySequence_Check` on *o* is true and without adjustment for negative "
239
272
"indices."
240
273
msgstr ""
274
+ "Retorna o elemento *i* de *o*, ou ``NULL`` em caso de falha. É uma forma "
275
+ "mais rápida de :c:func:`PySequence_GetItem`, mas sem verificar se :c:func:"
276
+ "`PySequence_Check` em *o* é verdadeiro e sem ajustar índices negativos."
0 commit comments