33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
6+ # Translators:
7+ # Rafael Fontenelle <rffontenelle@gmail.com>, 2025
8+ #
69#, fuzzy
710msgid ""
811msgstr ""
912"Project-Id-Version :Python 3.11\n "
1013"Report-Msgid-Bugs-To :\n "
11- "POT-Creation-Date :2025-08-23 16:42 +0000\n "
14+ "POT-Creation-Date :2025-09-11 16:44 +0000\n "
1215"PO-Revision-Date :2025-07-18 20:04+0000\n "
16+ "Last-Translator :Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
1317"Language-Team :Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
1418"teams/5390/pt_BR/)\n "
1519"Language :pt_BR\n "
@@ -29,6 +33,9 @@ msgid ""
2933"methods. Additional information and examples are available in :ref:"
3034"`extending-index`."
3135msgstr ""
36+ "Essas funções são úteis ao criar funções e métodos das suas extensões. "
37+ "Informações adicionais e exemplos estão disponíveis em :ref:`extending-"
38+ "index`."
3239
3340#: ../../c-api/arg.rst:12
3441msgid ""
@@ -257,7 +264,7 @@ msgid ""
257264"Like ``s``, but the Python object may also be ``None``, in which case the C "
258265"pointer is set to ``NULL``."
259266msgstr ""
260- "Como ``s``, mas o objeto Python também pode ser ``None``,nesse caso o "
267+ "Como ``s``, mas o objeto Python também pode ser ``None``, caso em que o "
261268"ponteiro C é definido como ``NULL``."
262269
263270#: ../../c-api/arg.rst:119
@@ -272,8 +279,8 @@ msgid ""
272279"Like ``s*``, but the Python object may also be ``None``, in which case the "
273280"``buf`` member of the :c:type:`Py_buffer` structure is set to ``NULL``."
274281msgstr ""
275- "Como ``s*``, mas o objeto Python também pode ser ``None``,nesse caso o "
276- "membro ``buf`` da estrutura :c:type:`Py_buffer` édefinido como ``NULL``."
282+ "Como ``s*``, mas o objeto Python também pode ser ``None``, caso em que o "
283+ "membro ``buf`` da estrutura :c:type:`Py_buffer` édefinida como ``NULL``."
277284
278285#: ../../c-api/arg.rst:123
279286msgid ""
@@ -288,7 +295,7 @@ msgid ""
288295"Like ``s#``, but the Python object may also be ``None``, in which case the C "
289296"pointer is set to ``NULL``."
290297msgstr ""
291- "Como ``s#``, mas o objeto Python também pode ser ``None``,nesse caso o "
298+ "Como ``s#``, mas o objeto Python também pode ser ``None``, caso em que o "
292299"ponteiro C é definido como ``NULL``."
293300
294301#: ../../c-api/arg.rst:134
@@ -376,7 +383,7 @@ msgstr ""
376383
377384#: ../../c-api/arg.rst:170
378385msgid "``u`` (:class:`str`) [const Py_UNICODE\\ *]"
379- msgstr ""
386+ msgstr "``u`` (:class:`str`) [const Py_UNICODE \\ *] "
380387
381388#: ../../c-api/arg.rst:156
382389msgid ""
@@ -388,46 +395,64 @@ msgid ""
388395"Python string must not contain embedded null code points; if it does, a :exc:"
389396"`ValueError` exception is raised."
390397msgstr ""
398+ "Converte um objeto Python Unicode para um ponteiro C para um buffer de "
399+ "caracteres Unicode terminado em NUL. Você deve passar o endereço de uma "
400+ "variável ponteiro :c:type:`Py_UNICODE`, que será preenchida com um ponteiro "
401+ "para um buffer Unicode existente. Por favor, note que o comprimento de um "
402+ "caractere :c:type:`Py_UNICODE` depende das opções de compilação (está entre "
403+ "16 ou 32 bits). A string Python não deve conter pontos de código nulos "
404+ "incorporados, se isso ocorrer uma exceção :exc:`ValueError` será levantada."
391405
392406#: ../../c-api/arg.rst:171 ../../c-api/arg.rst:180 ../../c-api/arg.rst:188
393407#: ../../c-api/arg.rst:196
394408msgid ""
395409"Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:"
396410"func:`PyUnicode_AsWideCharString`."
397411msgstr ""
412+ "Parte do estilo antigo :c:type:`Py_UNICODE` API; por favor migre o uso para :"
413+ "c:func:`PyUnicode_AsWideCharString`."
398414
399415#: ../../c-api/arg.rst:179
400416msgid "``u#`` (:class:`str`) [const Py_UNICODE\\ *, :c:type:`Py_ssize_t`]"
401- msgstr ""
417+ msgstr "``u#`` (:class:`str`) [const Py_UNICODE \\ *, :c:type:`Py_ssize_t`] "
402418
403419#: ../../c-api/arg.rst:173
404420msgid ""
405421"This variant on ``u`` stores into two C variables, the first one a pointer "
406422"to a Unicode data buffer, the second one its length. This variant allows "
407423"null code points."
408424msgstr ""
425+ "Esta variante de ``u`` armazena em duas variáveis C, a primeira um ponteiro "
426+ "para um buffer Unicode de dados, a segunda para seu comprimento. Esta "
427+ "variante permite ponteiros para nulos."
409428
410429#: ../../c-api/arg.rst:187
411430msgid "``Z`` (:class:`str` or ``None``) [const Py_UNICODE\\ *]"
412- msgstr ""
431+ msgstr "``Z`` (:class:`str` ou ``None``) [const Py_UNICODE \\ *] "
413432
414433#: ../../c-api/arg.rst:182
415434msgid ""
416435"Like ``u``, but the Python object may also be ``None``, in which case the :c:"
417436"type:`Py_UNICODE` pointer is set to ``NULL``."
418437msgstr ""
438+ "Como ``u``, mas o objeto Python também pode ser ``None``, nesse caso o "
439+ "ponteiro :c:type:`Py_UNICODE` é definido como ``NULL``."
419440
420441#: ../../c-api/arg.rst:195
421442msgid ""
422443"``Z#`` (:class:`str` or ``None``) [const Py_UNICODE\\ *, :c:type:"
423444"`Py_ssize_t`]"
424445msgstr ""
446+ "``Z#`` (:class:`str` ou ``None``) [const Py_UNICODE\\ *, :c:type:"
447+ "`Py_ssize_t`]"
425448
426449#: ../../c-api/arg.rst:190
427450msgid ""
428451"Like ``u#``, but the Python object may also be ``None``, in which case the :"
429452"c:type:`Py_UNICODE` pointer is set to ``NULL``."
430453msgstr ""
454+ "Como ``u#``, mas o objeto Python também pode ser ``None``, nesse caso o "
455+ "ponteiro :c:type:`Py_UNICODE` é definido como ``NULL``"
431456
432457#: ../../c-api/arg.rst:200
433458msgid "``U`` (:class:`str`) [PyObject\\ *]"
@@ -635,6 +660,8 @@ msgid ""
635660"Convert a nonnegative Python integer to an unsigned tiny int, stored in a C :"
636661"c:expr:`unsigned char`."
637662msgstr ""
663+ "Converte um inteiro Python não negativo em um inteiro pequeno sem sinal "
664+ "(unsigned tiny int), armazenado em um :c:expr:`unsigned char` do C."
638665
639666#: ../../c-api/arg.rst:275 ../../c-api/arg.rst:618
640667msgid "``B`` (:class:`int`) [unsigned char]"
@@ -645,6 +672,8 @@ msgid ""
645672"Convert a Python integer to a tiny int without overflow checking, stored in "
646673"a C :c:expr:`unsigned char`."
647674msgstr ""
675+ "Converte um inteiro Python para um inteiro pequeno (tiny int) sem "
676+ "verificação de estouro, armazenado em um :c:expr:`unsigned char` do C."
648677
649678#: ../../c-api/arg.rst:278 ../../c-api/arg.rst:612
650679msgid "``h`` (:class:`int`) [short int]"
@@ -769,6 +798,7 @@ msgstr "``f``` (:class:`float`) [float]"
769798#: ../../c-api/arg.rst:320
770799msgid "Convert a Python floating point number to a C :c:expr:`float`."
771800msgstr ""
801+ "Converte um número de ponto flutuante Python para um :c:expr:`float` do C."
772802
773803#: ../../c-api/arg.rst:323 ../../c-api/arg.rst:647
774804msgid "``d`` (:class:`float`) [double]"
@@ -777,6 +807,7 @@ msgstr "``d`` (:class:`float`) [double]"
777807#: ../../c-api/arg.rst:323
778808msgid "Convert a Python floating point number to a C :c:expr:`double`."
779809msgstr ""
810+ "Converte um número de ponto flutuante Python para um :c:expr:`double` do C."
780811
781812#: ../../c-api/arg.rst:326
782813msgid "``D`` (:class:`complex`) [Py_complex]"
@@ -864,10 +895,15 @@ msgid ""
864895"call, the *object* parameter will be ``NULL``; *address* will have the same "
865896"value as in the original call."
866897msgstr ""
898+ "Se o *converter* retornar ``Py_CLEANUP_SUPPORTED``, ele poderá ser chamado "
899+ "uma segunda vez se a análise do argumento eventualmente falhar, dando ao "
900+ "conversor a chance de liberar qualquer memória que já havia alocado. Nesta "
901+ "segunda chamada, o parâmetro *object* será ``NULL``; *address* terá o mesmo "
902+ "valor que na chamada original."
867903
868904#: ../../c-api/arg.rst:367
869905msgid "``Py_CLEANUP_SUPPORTED`` was added."
870- msgstr ""
906+ msgstr "109 ``Py_CLEANUP_SUPPORTED`` foi adicionado. "
871907
872908#: ../../c-api/arg.rst:377
873909msgid "``p`` (:class:`bool`) [int]"
@@ -910,6 +946,12 @@ msgid ""
910946"too small to receive the value (actually, the semantics are inherited from "
911947"downcasts in C --- your mileage may vary)."
912948msgstr ""
949+ "É possível passar inteiros\" long\" (inteiros em que o valor excede a "
950+ "constante da plataforma :c:macro:`LONG_MAX`) contudo nenhuma checagem de "
951+ "intervalo é propriamente feita -- os bits mais significativos são "
952+ "silenciosamente truncados quando o campo de recebimento é muito pequeno para "
953+ "receber o valor (na verdade, a semântica é herdada de downcasts no C -- seu "
954+ "raio de ação pode variar)."
913955
914956#: ../../c-api/arg.rst:390
915957msgid ""
@@ -1412,10 +1454,12 @@ msgstr ""
14121454#: ../../c-api/arg.rst:647
14131455msgid "Convert a C :c:expr:`double` to a Python floating point number."
14141456msgstr ""
1457+ "Converte um :c:expr:`double` do C em um número ponto flutuante do Python."
14151458
14161459#: ../../c-api/arg.rst:650
14171460msgid "Convert a C :c:expr:`float` to a Python floating point number."
14181461msgstr ""
1462+ "Converte um :c:expr:`float` do C em um número ponto flutuante do Python."
14191463
14201464#: ../../c-api/arg.rst:653
14211465msgid "``D`` (:class:`complex`) [Py_complex\\ *]"