@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version :Python 3.14\n "
1313"Report-Msgid-Bugs-To :\n "
14- "POT-Creation-Date :2025-09-16 17:23 +0000\n "
14+ "POT-Creation-Date :2025-10-05 14:11 +0000\n "
1515"PO-Revision-Date :2025-09-16 00:00+0000\n "
1616"Last-Translator :python-doc bot, 2025\n "
1717"Language-Team :Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -47,7 +47,7 @@ msgstr ""
4747"Aqui está um exemplo de um cliente TCP realizando eco, escrito usando "
4848"streams asyncio::"
4949
50- #: ../../library/asyncio-stream.rst:22 ../../library/asyncio-stream.rst:440
50+ #: ../../library/asyncio-stream.rst:22 ../../library/asyncio-stream.rst:441
5151msgid ""
5252"import asyncio\n"
5353"\n"
@@ -139,7 +139,7 @@ msgstr "Removido o parâmetro *loop*."
139139
140140#: ../../library/asyncio-stream.rst:87 ../../library/asyncio-stream.rst:131
141141#: ../../library/asyncio-stream.rst:167 ../../library/asyncio-stream.rst:202
142- #: ../../library/asyncio-stream.rst:407
142+ #: ../../library/asyncio-stream.rst:408
143143msgid "Added the *ssl_shutdown_timeout* parameter."
144144msgstr ""
145145
@@ -410,23 +410,23 @@ msgstr ""
410410"isso falhar, data é enfileirado em um buffer interno de escrita, até que "
411411"possa ser enviado."
412412
413- #: ../../library/asyncio-stream.rst:319 ../../library/asyncio-stream.rst:334
413+ #: ../../library/asyncio-stream.rst:319
414+ msgid ""
415+ "The *data* buffer should be a bytes, bytearray, or C-contiguous one-"
416+ "dimensional memoryview object."
417+ msgstr ""
418+
419+ #: ../../library/asyncio-stream.rst:322 ../../library/asyncio-stream.rst:335
414420msgid "The method should be used along with the ``drain()`` method::"
415421msgstr "O método deve ser usado juntamente com o método ``drain()``::"
416422
417- #: ../../library/asyncio-stream.rst:321
423+ #: ../../library/asyncio-stream.rst:324
418424msgid ""
419425"stream.write(data)\n"
420426"await stream.drain()"
421427msgstr ""
422428
423- #: ../../library/asyncio-stream.rst:325
424- msgid ""
425- "The *data* buffer should be a C contiguous one-dimensional :term:`bytes-like "
426- "object <bytes-like object>`."
427- msgstr ""
428-
429- #: ../../library/asyncio-stream.rst:329
429+ #: ../../library/asyncio-stream.rst:330
430430msgid ""
431431"The method writes a list (or any iterable) of bytes to the underlying socket "
432432"immediately. If that fails, the data is queued in an internal write buffer "
@@ -436,67 +436,67 @@ msgstr ""
436436"o soquete subjacente. Se isso falhar, os dados são enfileirados em um buffer "
437437"de escrita interno até que possam ser enviados."
438438
439- #: ../../library/asyncio-stream.rst:336
439+ #: ../../library/asyncio-stream.rst:337
440440msgid ""
441441"stream.writelines(lines)\n"
442442"await stream.drain()"
443443msgstr ""
444444
445- #: ../../library/asyncio-stream.rst:341
445+ #: ../../library/asyncio-stream.rst:342
446446msgid "The method closes the stream and the underlying socket."
447447msgstr "O método fecha o stream e o soquete subjacente."
448448
449- #: ../../library/asyncio-stream.rst:343
449+ #: ../../library/asyncio-stream.rst:344
450450msgid ""
451451"The method should be used, though not mandatory, along with the "
452452"``wait_closed()`` method::"
453453msgstr ""
454454
455- #: ../../library/asyncio-stream.rst:346
455+ #: ../../library/asyncio-stream.rst:347
456456msgid ""
457457"stream.close()\n"
458458"await stream.wait_closed()"
459459msgstr ""
460460
461- #: ../../library/asyncio-stream.rst:351
461+ #: ../../library/asyncio-stream.rst:352
462462msgid ""
463463"Return ``True`` if the underlying transport supports the :meth:`write_eof` "
464464"method, ``False`` otherwise."
465465msgstr ""
466466"Retorna ``True`` se o transporte subjacente suporta o método :meth:"
467467"`write_eof`, ``False`` caso contrário."
468468
469- #: ../../library/asyncio-stream.rst:356
469+ #: ../../library/asyncio-stream.rst:357
470470msgid ""
471471"Close the write end of the stream after the buffered write data is flushed."
472472msgstr ""
473473"Fecha o extremo de escrita do stream após os dados no buffer de escrita "
474474"terem sido descarregados."
475475
476- #: ../../library/asyncio-stream.rst:361
476+ #: ../../library/asyncio-stream.rst:362
477477msgid "Return the underlying asyncio transport."
478478msgstr "Retorna o transporte asyncio subjacente."
479479
480- #: ../../library/asyncio-stream.rst:365
480+ #: ../../library/asyncio-stream.rst:366
481481msgid ""
482482"Access optional transport information; see :meth:`BaseTransport."
483483"get_extra_info` for details."
484484msgstr ""
485485"Acessa informações de transporte opcionais; veja :meth:`BaseTransport."
486486"get_extra_info` para detalhes."
487487
488- #: ../../library/asyncio-stream.rst:371
488+ #: ../../library/asyncio-stream.rst:372
489489msgid "Wait until it is appropriate to resume writing to the stream. Example::"
490490msgstr ""
491491"Aguarda até que seja apropriado continuar escrevendo no stream. Exemplo::"
492492
493- #: ../../library/asyncio-stream.rst:374
493+ #: ../../library/asyncio-stream.rst:375
494494msgid ""
495495"writer.write(data)\n"
496496"await writer.drain()"
497497msgstr ""
498498
499- #: ../../library/asyncio-stream.rst:377
499+ #: ../../library/asyncio-stream.rst:378
500500msgid ""
501501"This is a flow control method that interacts with the underlying IO write "
502502"buffer. When the size of the buffer reaches the high watermark, *drain()* "
@@ -510,70 +510,70 @@ msgstr ""
510510"para a marca d'água baixa, e a escrita possa continuar. Quando não existe "
511511"nada que cause uma espera, o método :meth:`drain` retorna imediatamente."
512512
513- #: ../../library/asyncio-stream.rst:388
513+ #: ../../library/asyncio-stream.rst:389
514514msgid "Upgrade an existing stream-based connection to TLS."
515515msgstr ""
516516
517- #: ../../library/asyncio-stream.rst:390
517+ #: ../../library/asyncio-stream.rst:391
518518msgid "Parameters:"
519519msgstr "Parâmetros:"
520520
521- #: ../../library/asyncio-stream.rst:392
521+ #: ../../library/asyncio-stream.rst:393
522522msgid "*sslcontext*: a configured instance of :class:`~ssl.SSLContext`."
523523msgstr "*sslcontext*: uma instância configurada de :class:`~ssl.SSLContext`."
524524
525- #: ../../library/asyncio-stream.rst:394
525+ #: ../../library/asyncio-stream.rst:395
526526msgid ""
527527"*server_hostname*: sets or overrides the host name that the target server's "
528528"certificate will be matched against."
529529msgstr ""
530530"*server_hostname*: define ou substitui o nome do host no qual o servidor "
531531"alvo do certificado será comparado."
532532
533- #: ../../library/asyncio-stream.rst:397
533+ #: ../../library/asyncio-stream.rst:398
534534msgid ""
535535"*ssl_handshake_timeout* is the time in seconds to wait for the TLS handshake "
536536"to complete before aborting the connection. ``60.0`` seconds if ``None`` "
537537"(default)."
538538msgstr ""
539539
540- #: ../../library/asyncio-stream.rst:401
540+ #: ../../library/asyncio-stream.rst:402
541541msgid ""
542542"*ssl_shutdown_timeout* is the time in seconds to wait for the SSL shutdown "
543543"to complete before aborting the connection. ``30.0`` seconds if ``None`` "
544544"(default)."
545545msgstr ""
546546
547- #: ../../library/asyncio-stream.rst:413
547+ #: ../../library/asyncio-stream.rst:414
548548msgid ""
549549"Return ``True`` if the stream is closed or in the process of being closed."
550550msgstr ""
551551"Retorna ``True`` se o stream estiver fechado ou em processo de ser fechado."
552552
553- #: ../../library/asyncio-stream.rst:421
553+ #: ../../library/asyncio-stream.rst:422
554554msgid "Wait until the stream is closed."
555555msgstr "Aguarda até que o stream seja fechado."
556556
557- #: ../../library/asyncio-stream.rst:423
557+ #: ../../library/asyncio-stream.rst:424
558558msgid ""
559559"Should be called after :meth:`close` to wait until the underlying connection "
560560"is closed, ensuring that all data has been flushed before e.g. exiting the "
561561"program."
562562msgstr ""
563563
564- #: ../../library/asyncio-stream.rst:431
564+ #: ../../library/asyncio-stream.rst:432
565565msgid "Examples"
566566msgstr "Exemplos"
567567
568- #: ../../library/asyncio-stream.rst:436
568+ #: ../../library/asyncio-stream.rst:437
569569msgid "TCP echo client using streams"
570570msgstr "Cliente para eco TCP usando streams"
571571
572- #: ../../library/asyncio-stream.rst:438
572+ #: ../../library/asyncio-stream.rst:439
573573msgid "TCP echo client using the :func:`asyncio.open_connection` function::"
574574msgstr "Cliente de eco TCP usando a função :func:`asyncio.open_connection`::"
575575
576- #: ../../library/asyncio-stream.rst:462
576+ #: ../../library/asyncio-stream.rst:463
577577msgid ""
578578"The :ref:`TCP echo client protocol "
579579"<asyncio_example_tcp_echo_client_protocol>` example uses the low-level :meth:"
@@ -583,15 +583,15 @@ msgstr ""
583583"<asyncio_example_tcp_echo_client_protocol>` usa o método de baixo nível :"
584584"meth:`loop.create_connection`."
585585
586- #: ../../library/asyncio-stream.rst:469
586+ #: ../../library/asyncio-stream.rst:470
587587msgid "TCP echo server using streams"
588588msgstr "Servidor eco TCP usando streams"
589589
590- #: ../../library/asyncio-stream.rst:471
590+ #: ../../library/asyncio-stream.rst:472
591591msgid "TCP echo server using the :func:`asyncio.start_server` function::"
592592msgstr "Servidor eco TCP usando a função :func:`asyncio.start_server`::"
593593
594- #: ../../library/asyncio-stream.rst:473
594+ #: ../../library/asyncio-stream.rst:474
595595msgid ""
596596"import asyncio\n"
597597"\n"
@@ -623,7 +623,7 @@ msgid ""
623623"asyncio.run(main())"
624624msgstr ""
625625
626- #: ../../library/asyncio-stream.rst:505
626+ #: ../../library/asyncio-stream.rst:506
627627msgid ""
628628"The :ref:`TCP echo server protocol "
629629"<asyncio_example_tcp_echo_server_protocol>` example uses the :meth:`loop."
@@ -633,18 +633,18 @@ msgstr ""
633633"<asyncio_example_tcp_echo_server_protocol>` utiliza o método :meth:`loop."
634634"create_server`."
635635
636- #: ../../library/asyncio-stream.rst:510
636+ #: ../../library/asyncio-stream.rst:511
637637msgid "Get HTTP headers"
638638msgstr "Obtém headers HTTP"
639639
640- #: ../../library/asyncio-stream.rst:512
640+ #: ../../library/asyncio-stream.rst:513
641641msgid ""
642642"Simple example querying HTTP headers of the URL passed on the command line::"
643643msgstr ""
644644"Exemplo simples consultando cabeçalhos HTTP da URL passada na linha de "
645645"comando::"
646646
647- #: ../../library/asyncio-stream.rst:514
647+ #: ../../library/asyncio-stream.rst:515
648648msgid ""
649649"import asyncio\n"
650650"import urllib.parse\n"
@@ -683,35 +683,35 @@ msgid ""
683683"asyncio.run(print_http_headers(url))"
684684msgstr ""
685685
686- #: ../../library/asyncio-stream.rst:551
686+ #: ../../library/asyncio-stream.rst:552
687687msgid "Usage::"
688688msgstr "Uso::"
689689
690- #: ../../library/asyncio-stream.rst:553
690+ #: ../../library/asyncio-stream.rst:554
691691msgid "python example.py http://example.com/path/page.html"
692692msgstr ""
693693
694- #: ../../library/asyncio-stream.rst:555
694+ #: ../../library/asyncio-stream.rst:556
695695msgid "or with HTTPS::"
696696msgstr "ou com HTTPS::"
697697
698- #: ../../library/asyncio-stream.rst:557
698+ #: ../../library/asyncio-stream.rst:558
699699msgid "python example.py https://example.com/path/page.html"
700700msgstr ""
701701
702- #: ../../library/asyncio-stream.rst:563
702+ #: ../../library/asyncio-stream.rst:564
703703msgid "Register an open socket to wait for data using streams"
704704msgstr "Registra um soquete aberto para aguardar por dados usando streams"
705705
706- #: ../../library/asyncio-stream.rst:565
706+ #: ../../library/asyncio-stream.rst:566
707707msgid ""
708708"Coroutine waiting until a socket receives data using the :func:"
709709"`open_connection` function::"
710710msgstr ""
711711"Corrotina aguardando até que um soquete receba dados usando a função :func:"
712712"`open_connection`::"
713713
714- #: ../../library/asyncio-stream.rst:568
714+ #: ../../library/asyncio-stream.rst:569
715715msgid ""
716716"import asyncio\n"
717717"import socket\n"
@@ -744,7 +744,7 @@ msgid ""
744744"asyncio.run(wait_for_data())"
745745msgstr ""
746746
747- #: ../../library/asyncio-stream.rst:600
747+ #: ../../library/asyncio-stream.rst:601
748748msgid ""
749749"The :ref:`register an open socket to wait for data using a protocol "
750750"<asyncio_example_create_connection>` example uses a low-level protocol and "
@@ -754,7 +754,7 @@ msgstr ""
754754"usando um protocolo <asyncio_example_create_connection>` utiliza um "
755755"protocolo de baixo nível e o método :meth:`loop.create_connection`."
756756
757- #: ../../library/asyncio-stream.rst:604
757+ #: ../../library/asyncio-stream.rst:605
758758msgid ""
759759"The :ref:`watch a file descriptor for read events "
760760"<asyncio_example_watch_fd>` example uses the low-level :meth:`loop."