11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2025 , Python Software Foundation
2+ # Copyright (C) 2001-2026 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.13\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2025-12-19 15:01 +0000\n "
15+ "POT-Creation-Date : 2026-07-11 16:22 +0000\n "
1616"PO-Revision-Date : 2025-09-15 01:03+0000\n "
1717"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
1818"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -135,12 +135,17 @@ msgstr ""
135135"Retorna um item se houver um imediatamente disponível, caso contrário "
136136"levanta :exc:`QueueEmpty`."
137137
138- #: ../../library/asyncio-queue.rst:77
138+ #: ../../library/asyncio-queue.rst:74
139+ msgid ""
140+ "Raises :exc:`QueueShutDown` if the queue has been shut down and is empty."
141+ msgstr ""
142+
143+ #: ../../library/asyncio-queue.rst:79
139144msgid "Block until all items in the queue have been received and processed."
140145msgstr ""
141146"Bloqueia até que todos os itens na fila tenham sido recebidos e processados."
142147
143- #: ../../library/asyncio-queue.rst:79
148+ #: ../../library/asyncio-queue.rst:81
144149msgid ""
145150"The count of unfinished tasks goes up whenever an item is added to the "
146151"queue. The count goes down whenever a consumer coroutine calls :meth:"
@@ -154,68 +159,68 @@ msgstr ""
154159"foi concluído. Quando a contagem de tarefas inacabadas chega a zero, :meth:"
155160"`join` desbloqueia."
156161
157- #: ../../library/asyncio-queue.rst:88
162+ #: ../../library/asyncio-queue.rst:90
158163msgid ""
159164"Put an item into the queue. If the queue is full, wait until a free slot is "
160165"available before adding the item."
161166msgstr ""
162167"Coloca um item na fila. Se a fila estiver cheia, aguarda até que uma posição "
163168"livre esteja disponível antes de adicionar o item."
164169
165- #: ../../library/asyncio-queue.rst:91
170+ #: ../../library/asyncio-queue.rst:93 ../../library/asyncio-queue.rst:101
166171msgid "Raises :exc:`QueueShutDown` if the queue has been shut down."
167172msgstr "Levanta :exc:`QueueShutDown` se a fila foi encerrada."
168173
169- #: ../../library/asyncio-queue.rst:95
174+ #: ../../library/asyncio-queue.rst:97
170175msgid "Put an item into the queue without blocking."
171176msgstr "Coloca um item na fila sem bloqueá-la."
172177
173- #: ../../library/asyncio-queue.rst:97
178+ #: ../../library/asyncio-queue.rst:99
174179msgid "If no free slot is immediately available, raise :exc:`QueueFull`."
175180msgstr ""
176181"Se nenhuma posição livre estiver imediatamente disponível, levanta :exc:"
177182"`QueueFull`."
178183
179- #: ../../library/asyncio-queue.rst:101
184+ #: ../../library/asyncio-queue.rst:105
180185msgid "Return the number of items in the queue."
181186msgstr "Retorna o número de itens na fila."
182187
183- #: ../../library/asyncio-queue.rst:105
188+ #: ../../library/asyncio-queue.rst:109
184189msgid "Put a :class:`Queue` instance into a shutdown mode."
185190msgstr "Coloca uma instância de :class:`Queue` em modo de desligamento."
186191
187- #: ../../library/asyncio-queue.rst:107
192+ #: ../../library/asyncio-queue.rst:111
188193msgid ""
189194"The queue can no longer grow. Future calls to :meth:`~Queue.put` raise :exc:"
190195"`QueueShutDown`. Currently blocked callers of :meth:`~Queue.put` will be "
191196"unblocked and will raise :exc:`QueueShutDown` in the formerly awaiting task."
192197msgstr ""
193198
194- #: ../../library/asyncio-queue.rst:112
199+ #: ../../library/asyncio-queue.rst:116
195200msgid ""
196201"If *immediate* is false (the default), the queue can be wound down normally "
197202"with :meth:`~Queue.get` calls to extract tasks that have already been loaded."
198203msgstr ""
199204"Se *immediate* for falso (o padrão), a fila pode ser encerrada normalmente "
200205"com chamadas :meth:`~Queue.get` para extrair tarefas que já foram carregadas."
201206
202- #: ../../library/asyncio-queue.rst:116
207+ #: ../../library/asyncio-queue.rst:120
203208msgid ""
204209"And if :meth:`~Queue.task_done` is called for each remaining task, a "
205210"pending :meth:`~Queue.join` will be unblocked normally."
206211msgstr ""
207212"E se :meth:`~Queue.task_done` for chamado para cada tarefa restante, um :"
208213"meth:`~Queue.join` pendente será desbloqueado normalmente."
209214
210- #: ../../library/asyncio-queue.rst:119
215+ #: ../../library/asyncio-queue.rst:123
211216msgid ""
212217"Once the queue is empty, future calls to :meth:`~Queue.get` will raise :exc:"
213218"`QueueShutDown`."
214219msgstr ""
215220"Assim que a fila estiver vazia, chamadas futuras para :meth:`~Queue.get` vão "
216221"levantar :exc:`QueueShutDown`."
217222
218- #: ../../library/asyncio-queue.rst:122
223+ #: ../../library/asyncio-queue.rst:126
219224msgid ""
220225"If *immediate* is true, the queue is terminated immediately. The queue is "
221226"drained to be completely empty and the count of unfinished tasks is reduced "
@@ -231,7 +236,7 @@ msgstr ""
231236"chamadas bloqueadas de :meth:`~Queue.get` são desbloqueadas e levantarão uma "
232237"exceção :exc:`QueueShutDown` porque a fila está vazia."
233238
234- #: ../../library/asyncio-queue.rst:130
239+ #: ../../library/asyncio-queue.rst:134
235240msgid ""
236241"Use caution when using :meth:`~Queue.join` with *immediate* set to true. "
237242"This unblocks the join even when no work has been done on the tasks, "
@@ -241,12 +246,12 @@ msgstr ""
241246"como verdadeiro. Isso desbloqueia a junção mesmo quando nenhuma tarefa foi "
242247"executada, violando a invariante usual para a junção de uma fila."
243248
244- #: ../../library/asyncio-queue.rst:138
249+ #: ../../library/asyncio-queue.rst:142
245250msgid "Indicate that a formerly enqueued work item is complete."
246251msgstr ""
247252"Indica que o item de trabalho anteriormente enfileirado está concluído."
248253
249- #: ../../library/asyncio-queue.rst:140
254+ #: ../../library/asyncio-queue.rst:144
250255msgid ""
251256"Used by queue consumers. For each :meth:`~Queue.get` used to fetch a work "
252257"item, a subsequent call to :meth:`task_done` tells the queue that the "
@@ -256,7 +261,7 @@ msgstr ""
256261"buscar um item de trabalho, uma chamada subsequente para :meth:`task_done` "
257262"avisa à fila, que o processamento no item de trabalho está concluído."
258263
259- #: ../../library/asyncio-queue.rst:144
264+ #: ../../library/asyncio-queue.rst:148
260265msgid ""
261266"If a :meth:`join` is currently blocking, it will resume when all items have "
262267"been processed (meaning that a :meth:`task_done` call was received for every "
@@ -267,83 +272,82 @@ msgstr ""
267272"chamada :meth:`task_done` foi recebida para cada item que foi chamado o "
268273"método :meth:`~Queue.put` para colocar na fila)."
269274
270- #: ../../library/asyncio-queue.rst:149
275+ #: ../../library/asyncio-queue.rst:153
271276msgid ""
272277"Raises :exc:`ValueError` if called more times than there were items placed "
273278"in the queue."
274279msgstr ""
275280"Levanta :exc:`ValueError` se chamada mais vezes do que a quantidade de itens "
276281"existentes na fila."
277282
278- #: ../../library/asyncio-queue.rst:154
283+ #: ../../library/asyncio-queue.rst:158
279284msgid "Priority Queue"
280285msgstr "Fila de prioridade"
281286
282- #: ../../library/asyncio-queue.rst:158
287+ #: ../../library/asyncio-queue.rst:162
283288msgid ""
284289"A variant of :class:`Queue`; retrieves entries in priority order (lowest "
285290"first)."
286291msgstr ""
287292"Uma variante de :class:`Queue`; recupera entradas em ordem de prioridade "
288293"(mais baixas primeiro)."
289294
290- #: ../../library/asyncio-queue.rst:161
295+ #: ../../library/asyncio-queue.rst:165
291296msgid "Entries are typically tuples of the form ``(priority_number, data)``."
292297msgstr ""
293298"Entradas são tipicamente tuplas no formato ``(priority_number, data)``."
294299
295- #: ../../library/asyncio-queue.rst:166
300+ #: ../../library/asyncio-queue.rst:170
296301msgid "LIFO Queue"
297302msgstr "Filas LIFO (último a entrar, primeiro a sair)"
298303
299- #: ../../library/asyncio-queue.rst:170
304+ #: ../../library/asyncio-queue.rst:174
300305msgid ""
301306"A variant of :class:`Queue` that retrieves most recently added entries first "
302307"(last in, first out)."
303308msgstr ""
304309"Uma variante de :class:`Queue` que recupera as entradas adicionadas mais "
305310"recentemente primeiro (último a entrar, primeiro a sair)."
306311
307- #: ../../library/asyncio-queue.rst:175
312+ #: ../../library/asyncio-queue.rst:179
308313msgid "Exceptions"
309314msgstr "Exceções"
310315
311- #: ../../library/asyncio-queue.rst:179
316+ #: ../../library/asyncio-queue.rst:183
312317msgid ""
313318"This exception is raised when the :meth:`~Queue.get_nowait` method is called "
314319"on an empty queue."
315320msgstr ""
316321"Esta exceção é levantada quando o método :meth:`~Queue.get_nowait` é chamado "
317322"em uma fila vazia."
318323
319- #: ../../library/asyncio-queue.rst:185
324+ #: ../../library/asyncio-queue.rst:189
320325msgid ""
321326"Exception raised when the :meth:`~Queue.put_nowait` method is called on a "
322327"queue that has reached its *maxsize*."
323328msgstr ""
324329"Exceção levantada quando o método :meth:`~Queue.put_nowait` é chamado em uma "
325330"fila que atingiu seu *maxsize*."
326331
327- #: ../../library/asyncio-queue.rst:191
332+ #: ../../library/asyncio-queue.rst:195
328333msgid ""
329- "Exception raised when :meth:`~Queue.put` or :meth:`~Queue.get` is called on "
330- "a queue which has been shut down."
334+ "Exception raised when :meth:`~Queue.put`, :meth:`~Queue.put_nowait`, :meth:"
335+ "`~Queue.get` or :meth:`~Queue.get_nowait` is called on a queue which has "
336+ "been shut down."
331337msgstr ""
332- "Exceção levantada quando :meth:`~Queue.put` ou :meth:`~Queue.get` é chamado "
333- "em uma fila que foi desligada."
334338
335- #: ../../library/asyncio-queue.rst:198
339+ #: ../../library/asyncio-queue.rst:203
336340msgid "Examples"
337341msgstr "Exemplos"
338342
339- #: ../../library/asyncio-queue.rst:202
343+ #: ../../library/asyncio-queue.rst:207
340344msgid ""
341345"Queues can be used to distribute workload between several concurrent tasks::"
342346msgstr ""
343347"Filas podem ser usadas para distribuir cargas de trabalho entre diversas "
344348"tarefas concorrentes::"
345349
346- #: ../../library/asyncio-queue.rst:205
350+ #: ../../library/asyncio-queue.rst:210
347351msgid ""
348352"import asyncio\n"
349353"import random\n"
0 commit comments