@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.14\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2025-12-31 14:15 +0000\n "
15+ "POT-Creation-Date : 2026-03-27 14:44 +0000\n "
1616"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1717"Last-Translator : python-doc bot, 2025\n "
1818"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -285,15 +285,21 @@ msgstr ""
285285"Retorna a representação de bytes do objeto *o* que implementa o protocolo de "
286286"buffer."
287287
288- #: ../../c-api/bytes.rst:129
288+ #: ../../c-api/bytes.rst:127
289+ msgid ""
290+ "If the object implements the buffer protocol, then the buffer must not be "
291+ "mutated while the bytes object is being created."
292+ msgstr ""
293+
294+ #: ../../c-api/bytes.rst:133
289295msgid "Return the length of the bytes in bytes object *o*."
290296msgstr "Retorna o comprimento dos bytes em objeto bytes *o*."
291297
292- #: ../../c-api/bytes.rst:134
298+ #: ../../c-api/bytes.rst:138
293299msgid "Similar to :c:func:`PyBytes_Size`, but without error checking."
294300msgstr "Similar a :c:func:`PyBytes_Size`, mas sem verificação de erro."
295301
296- #: ../../c-api/bytes.rst:139
302+ #: ../../c-api/bytes.rst:143
297303msgid ""
298304"Return a pointer to the contents of *o*. The pointer refers to the internal "
299305"buffer of *o*, which consists of ``len(o) + 1`` bytes. The last byte in the "
@@ -311,19 +317,19 @@ msgstr ""
311317"desalocado. Se *o* não é um objeto de bytes, :c:func:`PyBytes_AsString` "
312318"retorna ``NULL`` e levanta :exc:`TypeError`."
313319
314- #: ../../c-api/bytes.rst:151
320+ #: ../../c-api/bytes.rst:155
315321msgid "Similar to :c:func:`PyBytes_AsString`, but without error checking."
316322msgstr "Similar a :c:func:`PyBytes_AsString`, mas sem verificação de erro."
317323
318- #: ../../c-api/bytes.rst:156
324+ #: ../../c-api/bytes.rst:160
319325msgid ""
320326"Return the null-terminated contents of the object *obj* through the output "
321327"variables *buffer* and *length*. Returns ``0`` on success."
322328msgstr ""
323329"Retorna os conteúdos terminados nulos do objeto *obj* através das variáveis "
324330"de saída *buffer* e *length*. Retorna ``0`` em caso de sucesso."
325331
326- #: ../../c-api/bytes.rst:160
332+ #: ../../c-api/bytes.rst:164
327333msgid ""
328334"If *length* is ``NULL``, the bytes object may not contain embedded null "
329335"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is "
@@ -333,7 +339,7 @@ msgstr ""
333339"incorporados; se isso acontecer, a função retornará ``-1`` e a :exc:"
334340"`ValueError` será levantado."
335341
336- #: ../../c-api/bytes.rst:164
342+ #: ../../c-api/bytes.rst:168
337343msgid ""
338344"The buffer refers to an internal buffer of *obj*, which includes an "
339345"additional null byte at the end (not counted in *length*). The data must "
@@ -349,15 +355,15 @@ msgstr ""
349355"Se *obj* não é um objeto bytes, :c:func:`PyBytes_AsStringAndSize` retorna "
350356"``-1`` e levanta :exc:`TypeError`."
351357
352- #: ../../c-api/bytes.rst:171
358+ #: ../../c-api/bytes.rst:175
353359msgid ""
354360"Previously, :exc:`TypeError` was raised when embedded null bytes were "
355361"encountered in the bytes object."
356362msgstr ""
357363"Anteriormente :exc:`TypeError` era levantado quando os bytes nulos "
358364"incorporados eram encontrados no objeto bytes."
359365
360- #: ../../c-api/bytes.rst:178
366+ #: ../../c-api/bytes.rst:182
361367msgid ""
362368"Create a new bytes object in *\\ *bytes* containing the contents of *newpart* "
363369"appended to *bytes*; the caller will own the new reference. The reference "
@@ -372,7 +378,13 @@ msgstr ""
372378"valor de *\\ *bytes* será definido como ``NULL``; a exceção apropriada será "
373379"definida."
374380
375- #: ../../c-api/bytes.rst:187
381+ #: ../../c-api/bytes.rst:189 ../../c-api/bytes.rst:199
382+ msgid ""
383+ "If *newpart* implements the buffer protocol, then the buffer must not be "
384+ "mutated while the new bytes object is being created."
385+ msgstr ""
386+
387+ #: ../../c-api/bytes.rst:194
376388msgid ""
377389"Create a new bytes object in *\\ *bytes* containing the contents of *newpart* "
378390"appended to *bytes*. This version releases the :term:`strong reference` to "
@@ -382,11 +394,11 @@ msgstr ""
382394"anexado a bytes. Esta versão libera a :term:`strong reference` (referência "
383395"forte) para newpart (ou seja, decrementa a contagem de referências a ele).\" "
384396
385- #: ../../c-api/bytes.rst:194
397+ #: ../../c-api/bytes.rst:205
386398msgid "Similar to ``sep.join(iterable)`` in Python."
387399msgstr "Similar a ``sep.join(iterable)`` no Python."
388400
389- #: ../../c-api/bytes.rst:196
401+ #: ../../c-api/bytes.rst:207
390402msgid ""
391403"*sep* must be Python :class:`bytes` object. (Note that :c:func:"
392404"`PyUnicode_Join` accepts ``NULL`` separator and treats it as a space, "
@@ -396,23 +408,29 @@ msgstr ""
396408"`PyUnicode_Join` aceita o separador ``NULL`` e o trata como um espaço, "
397409"enquanto :c:func:`PyBytes_Join` não aceita o separador ``NULL``.)"
398410
399- #: ../../c-api/bytes.rst:201
411+ #: ../../c-api/bytes.rst:212
400412msgid ""
401413"*iterable* must be an iterable object yielding objects that implement the :"
402414"ref:`buffer protocol <bufferobjects>`."
403415msgstr ""
404416"*iterable* deve ser um objeto iterável que produz objetos que implementam o :"
405417"ref:`protocolo de buffer <bufferobjects>`."
406418
407- #: ../../c-api/bytes.rst:204
419+ #: ../../c-api/bytes.rst:215
408420msgid ""
409421"On success, return a new :class:`bytes` object. On error, set an exception "
410422"and return ``NULL``."
411423msgstr ""
412424"Em caso de sucesso, retorna um novo objeto :class:`bytes`. Em caso de erro, "
413425"define uma exceção e retorna ``NULL``."
414426
415- #: ../../c-api/bytes.rst:212
427+ #: ../../c-api/bytes.rst:221
428+ msgid ""
429+ "If *iterable* objects implement the buffer protocol, then the buffers must "
430+ "not be mutated while the new bytes object is being created."
431+ msgstr ""
432+
433+ #: ../../c-api/bytes.rst:226
416434msgid ""
417435"Resize a bytes object. *newsize* will be the new length of the bytes object. "
418436"You can think of it as creating a new bytes object and destroying the old "
@@ -433,23 +451,23 @@ msgstr ""
433451"originais em *\\ *bytes* é desalocado, *\\ *bytes* é definido como ``NULL``, :"
434452"exc:`MemoryError` é definido e ``-1`` é retornado."
435453
436- #: ../../c-api/bytes.rst:226
454+ #: ../../c-api/bytes.rst:240
437455msgid ""
438456"Get the string representation of *bytes*. This function is currently used to "
439457"implement :meth:`!bytes.__repr__` in Python."
440458msgstr ""
441459"Obtém a representação em string de *bytes*. Esta função é atualmente usada "
442460"para implementar :meth:`!bytes.__repr__` em Python."
443461
444- #: ../../c-api/bytes.rst:229
462+ #: ../../c-api/bytes.rst:243
445463msgid ""
446464"This function does not do type checking; it is undefined behavior to pass "
447465"*bytes* as a non-bytes object or ``NULL``."
448466msgstr ""
449467"Esta função não realiza verificação de tipo; é um comportamento indefinido "
450468"passar *bytes* como um objeto que não seja do tipo bytes ou ``NULL``."
451469
452- #: ../../c-api/bytes.rst:232
470+ #: ../../c-api/bytes.rst:246
453471msgid ""
454472"If *smartquotes* is true, the representation will use a double-quoted string "
455473"instead of single-quoted string when single-quotes are present in *bytes*. "
@@ -463,7 +481,7 @@ msgstr ""
463481"representada como ``b\" 'Python'\" `` quando *smartquotes* for verdadeiro, ou "
464482"``b'\\ 'Python\\ ''`` quando for falso."
465483
466- #: ../../c-api/bytes.rst:238
484+ #: ../../c-api/bytes.rst:252
467485msgid ""
468486"On success, this function returns a :term:`strong reference` to a :class:"
469487"`str` object containing the representation. On failure, this returns "
@@ -473,15 +491,15 @@ msgstr ""
473491"objeto :class:`str` contendo a representação. Em caso de falha, ela retorna "
474492"``NULL`` com uma exceção definida."
475493
476- #: ../../c-api/bytes.rst:245
494+ #: ../../c-api/bytes.rst:259
477495msgid ""
478496"Unescape a backslash-escaped string *s*. *s* must not be ``NULL``. *len* "
479497"must be the size of *s*."
480498msgstr ""
481499"Remove um string *s* que foi escapada com contrabarra. *s* não pode ser "
482500"``NULL``. *len* deve ser o tamanho de *s*."
483501
484- #: ../../c-api/bytes.rst:248
502+ #: ../../c-api/bytes.rst:262
485503msgid ""
486504"*errors* must be one of ``\" strict\" ``, ``\" replace\" ``, or ``\" ignore\" ``. "
487505"If *errors* is ``NULL``, then ``\" strict\" `` is used by default."
@@ -490,7 +508,7 @@ msgstr ""
490508"ou ``\" ignore\" ``. Se *errors* for ``NULL``, o valor padrão será "
491509"``\" strict\" ``."
492510
493- #: ../../c-api/bytes.rst:251
511+ #: ../../c-api/bytes.rst:265
494512msgid ""
495513"On success, this function returns a :term:`strong reference` to a Python :"
496514"class:`bytes` object containing the unescaped string. On failure, this "
@@ -500,7 +518,7 @@ msgstr ""
500518"objeto Python :class:`bytes` contendo a string sem escape. Em caso de falha, "
501519"esta função retorna ``NULL`` com uma exceção definida."
502520
503- #: ../../c-api/bytes.rst:255
521+ #: ../../c-api/bytes.rst:269
504522msgid "*unicode* and *recode_encoding* are now unused."
505523msgstr "*unicode* e *recode_encoding* não são mais usadas."
506524
0 commit comments