Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60cf558

Browse files
Update translation
Co-Authored-By: python-doc bot
1 parent8b28e24 commit60cf558

File tree

16 files changed

+144
-45
lines changed

16 files changed

+144
-45
lines changed

‎bugs.po‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ msgid ""
3535
msgstr""
3636
"O Python é uma linguagem de programação madura que estabeleceu uma reputação "
3737
"pela estabilidade. A fim de manter esta reputação os desenvolvedores "
38-
"gostariam de saber de quaisquer deficiências que vocêencontrar no Python."
38+
"gostariam de saber de quaisquer deficiências que vocêencontre no Python."
3939

4040
#:../../bugs.rst:11
4141
msgid""
@@ -109,7 +109,7 @@ msgid ""
109109
"`Helping with Documentation <https://devguide.python.org/docquality/#helping-"
110110
"with-documentation>`_"
111111
msgstr""
112-
"`Ajudando com aDocumentação <https://devguide.python.org/docquality/"
112+
"`Ajudando com adocumentação <https://devguide.python.org/docquality/"
113113
"#helping-with-documentation>`_"
114114

115115
#:../../bugs.rst:39
@@ -231,7 +231,7 @@ msgid ""
231231
"`How to Report Bugs Effectively <https://www.chiark.greenend.org.uk/"
232232
"~sgtatham/bugs.html>`_"
233233
msgstr""
234-
"`ComoReportar Bugs Eficientemente <https://www.chiark.greenend.org.uk/"
234+
"`Comorelatar bugs eficientemente <https://www.chiark.greenend.org.uk/"
235235
"~sgtatham/bugs.html>`_"
236236

237237
#:../../bugs.rst:88

‎c-api/call.po‎

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.10\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-22 21:19+0000\n"
14+
"POT-Creation-Date:2025-09-23 17:01+0000\n"
1515
"PO-Revision-Date:2025-09-22 15:56+0000\n"
1616
"Last-Translator:python-doc bot, 2025\n"
1717
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -167,6 +167,8 @@ msgid ""
167167
":const:`PY_VECTORCALL_ARGUMENTS_OFFSET` flag. To get the actual number of "
168168
"positional arguments from *nargsf*, use :c:func:`PyVectorcall_NARGS`."
169169
msgstr""
170+
"Sinalizador :const:`PY_VECTORCALL_ARGUMENTS_OFFSET`. Para obter o número "
171+
"real de argumentos posicionais de *nargsf*, use :c:func:`PyVectorcall_NARGS`."
170172

171173
#:../../c-api/call.rst:85
172174
msgid"*kwnames* is a tuple containing the names of the keyword arguments;"
@@ -209,6 +211,10 @@ msgid ""
209211
"allow callables such as bound methods to make their onward calls (which "
210212
"include a prepended *self* argument) very efficiently."
211213
msgstr""
214+
"Sempre que podem realizar a um custo tão baixo (sem alocações adicionais), "
215+
"invocadores são encorajados a usar :const:`PY_VECTORCALL_ARGUMENTS_OFFSET`. "
216+
"Isso permitirá invocados como métodos vinculados a instâncias fazerem suas "
217+
"próprias invocações (o que inclui um argumento *self*) muito eficientemente."
212218

213219
#:../../c-api/call.rst:102
214220
msgid""
@@ -319,6 +325,10 @@ msgid ""
319325
"It does not check the :const:`Py_TPFLAGS_HAVE_VECTORCALL` flag and it does "
320326
"not fall back to ``tp_call``."
321327
msgstr""
328+
"Esta é uma função especializada, feita para ser colocada no slot :c:member:"
329+
"`~PyTypeObject.tp_call` ou usada em uma implementação de ``tp_call``. Ela "
330+
"não checa a flag :const:`Py_TPFLAGS_HAVE_VECTORCALL` e não retorna para "
331+
"``tp_call``."
322332

323333
#:../../c-api/call.rst:177
324334
msgid"Object Calling API"
@@ -674,12 +684,23 @@ msgid ""
674684
"temporarily be changed. Keyword arguments can be passed just like in :c:func:"
675685
"`PyObject_Vectorcall`."
676686
msgstr""
687+
"Chama um método usando a convenção de chamada vectorcall. O nome do método é "
688+
"dado como uma string Python *name*. O objeto cujo método é chamado é "
689+
"*args[0]*, e o array *args* começando em *args[1]* representa os argumentos "
690+
"da chamada. Deve haver pelo menos um argumento posicional. *nargsf* é o "
691+
"número de argumentos posicionais incluindo *args[0]*, mais :const:"
692+
"`PY_VECTORCALL_ARGUMENTS_OFFSET` se o valor de ``args[0]`` puder ser "
693+
"alterado temporariamente. Argumentos nomeados podem ser passados como em :c:"
694+
"func:`PyObject_Vectorcall`."
677695

678696
#:../../c-api/call.rst:390
679697
msgid""
680698
"If the object has the :const:`Py_TPFLAGS_METHOD_DESCRIPTOR` feature, this "
681699
"will call the unbound method object with the full *args* vector as arguments."
682700
msgstr""
701+
"Se o objeto tem a feature :const:`Py_TPFLAGS_METHOD_DESCRIPTOR`, isso irá "
702+
"chamar o objeto de método não vinculado com o vetor *args* inteiro como "
703+
"argumentos."
683704

684705
#:../../c-api/call.rst:401
685706
msgid"Call Support API"

‎c-api/gcsupport.po‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.10\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-22 21:19+0000\n"
14+
"POT-Creation-Date:2025-09-23 17:01+0000\n"
1515
"PO-Revision-Date:2025-09-22 15:57+0000\n"
1616
"Last-Translator:python-doc bot, 2025\n"
1717
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -51,6 +51,11 @@ msgid ""
5151
"instances of the type are mutable, a :c:member:`~PyTypeObject.tp_clear` "
5252
"implementation must also be provided."
5353
msgstr""
54+
"Para criar um tipo contêiner, o :c:member:`~PyTypeObject.tp_flags` campo do "
55+
"tipo do objeto deve incluir o :const:`Py_TPFLAGS_HAVE_GC` e fornecer uma "
56+
"implementação do :c:member:`~PyTypeObject.tp_traverse` manipulador. Se as "
57+
"instâncias do tipo forem mutáveis, uma :c:member:`~PyTypeObject.tp_clear` "
58+
"implementação também deverá ser fornecida."
5459

5560
#:../../c-api/gcsupport.rst:24
5661
msgid""

‎c-api/module.po‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.10\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-22 21:19+0000\n"
14+
"POT-Creation-Date:2025-09-23 17:01+0000\n"
1515
"PO-Revision-Date:2025-09-22 15:57+0000\n"
1616
"Last-Translator:python-doc bot, 2025\n"
1717
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -201,7 +201,7 @@ msgstr ""
201201

202202
#:../../c-api/module.rst:148
203203
msgid"Always initialize this member to :const:`PyModuleDef_HEAD_INIT`."
204-
msgstr""
204+
msgstr"Sempre inicializa este membro para :const:`PyModuleDef_HEAD_INIT`."
205205

206206
#:../../c-api/module.rst:152
207207
msgid"Name for the new module."
@@ -358,6 +358,9 @@ msgid ""
358358
"like :c:func:`PyModule_Create2` with *module_api_version* set to :const:"
359359
"`PYTHON_API_VERSION`."
360360
msgstr""
361+
"Cria um novo objeto de módulo, dada a definição em *def*. Isso se comporta "
362+
"como :c:func:`PyModule_Create2` com *module_api_version* definido como :"
363+
"const:`PYTHON_API_VERSION`"
361364

362365
#:../../c-api/module.rst:264
363366
msgid""

‎c-api/structures.po‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.10\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-22 21:19+0000\n"
14+
"POT-Creation-Date:2025-09-23 17:01+0000\n"
1515
"PO-Revision-Date:2025-09-22 15:57+0000\n"
1616
"Last-Translator:python-doc bot, 2025\n"
1717
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -68,6 +68,11 @@ msgid ""
6868
"must be done by using the macros :c:macro:`Py_REFCNT`, :c:macro:`Py_TYPE`, "
6969
"and :c:macro:`Py_SIZE`."
7070
msgstr""
71+
"Esta é uma extensão de :c:type:`PyObject` que adiciona o campo :attr:"
72+
"`ob_size`. Isso é usado apenas para objetos que têm alguma noção de "
73+
"*comprimento*. Esse tipo não costuma aparecer na API Python/C. O acesso aos "
74+
"membros deve ser feito através das macros :c:macro:`Py_REFCNT`, :c:macro:"
75+
"`Py_TYPE`, e :c:macro:`Py_SIZE`."
7176

7277
#:../../c-api/structures.rst:46
7378
msgid""

‎c-api/typeobj.po‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.10\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-22 21:19+0000\n"
14+
"POT-Creation-Date:2025-09-23 17:01+0000\n"
1515
"PO-Revision-Date:2025-09-22 15:57+0000\n"
1616
"Last-Translator:python-doc bot, 2025\n"
1717
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1387,6 +1387,14 @@ msgid ""
13871387
"declare the instance layout. The basic size does not include the GC header "
13881388
"size."
13891389
msgstr""
1390+
"O tamanho básico inclui os campos na instância declarados pela macro :c:"
1391+
"macro:`PyObject_HEAD` ou :c:macro:`PyObject_VAR_HEAD` (o que for usado para "
1392+
"declarar a estrutura da instância) e isso, por sua vez, inclui os campos :"
1393+
"attr:`_ob_prev` e :attr:`_ob_next` se estiverem presentes. Isso significa "
1394+
"que a única maneira correta de obter um inicializador para o :c:member:"
1395+
"`~PyTypeObject.tp_basicsize` é usar o operador ``sizeof`` na estrutura usada "
1396+
"para declarar o layout da instância. O tamanho básico não inclui o tamanho "
1397+
"do cabeçalho do coletor de lixo."
13901398

13911399
#:../../c-api/typeobj.rst:638
13921400
msgid""

‎extending/newtypes_tutorial.po‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.10\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-22 21:19+0000\n"
14+
"POT-Creation-Date:2025-09-23 17:01+0000\n"
1515
"PO-Revision-Date:2025-09-22 15:57+0000\n"
1616
"Last-Translator:python-doc bot, 2025\n"
1717
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -107,6 +107,8 @@ msgid ""
107107
"What a :class:`Custom` **object** contains: this is the ``CustomObject`` "
108108
"struct, which is allocated once for each :class:`Custom` instance."
109109
msgstr""
110+
"O que o **objeto** :class:`Custom` contém: esta é a estrutura do "
111+
"``CustomObject``, que é alocada uma vez a acada instância :class:`Custom`."
110112

111113
#:../../extending/newtypes_tutorial.rst:55
112114
msgid""

‎howto/argparse.po‎

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.10\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-22 21:19+0000\n"
14+
"POT-Creation-Date:2025-09-23 17:01+0000\n"
1515
"PO-Revision-Date:2025-09-22 15:57+0000\n"
1616
"Last-Translator:python-doc bot, 2025\n"
1717
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -293,6 +293,11 @@ msgid ""
293293
"``None`` as a value, which is the reason it fails the truth test of the :"
294294
"keyword:`if` statement."
295295
msgstr""
296+
"Para mostrar que a opção é realmente opcional, não há erro ao executar o "
297+
"programa sem ela. Observe que, por padrão, se um argumento opcional não for "
298+
"usado, a variável relevante, neste caso :attr:`args.verbosity`, recebe "
299+
"``None`` como valor, razão pela qual falha no teste de verdade da instrução :"
300+
"keyword:`if`."
296301

297302
#:../../howto/argparse.rst:263
298303
msgid"The help message is a bit different."
@@ -324,6 +329,12 @@ msgid ""
324329
"This means that, if the option is specified, assign the value ``True`` to :"
325330
"data:`args.verbose`. Not specifying it implies ``False``."
326331
msgstr""
332+
"A opção agora é mais um sinalizador do que algo que requer um valor. Até "
333+
"mudamos o nome da opção para corresponder a essa ideia. Observe que agora "
334+
"especificamos uma nova palavra reservada, ``action``, e damos a ela o valor "
335+
"``\"store_true\"``. Isso significa que, se a opção for especificada, atribui "
336+
"o valor ``True`` para :data:`args.verbose`. Não especificá-la implica em "
337+
"``False``."
327338

328339
#:../../howto/argparse.rst:305
329340
msgid""
@@ -564,6 +575,12 @@ msgid ""
564575
"the new functionality makes more sense: we'll introduce the ``--quiet`` "
565576
"option, which will be the opposite of the ``--verbose`` one::"
566577
msgstr""
578+
"Até agora, trabalhamos com dois métodos de uma instância :class:`argparse."
579+
"ArgumentParser`. Vamos apresentar um terceiro, :meth:"
580+
"`add_mutually_exclusive_group`. Ele nos permite especificar opções que "
581+
"entram em conflito umas com as outras. Vamos também alterar o resto do "
582+
"programa para que a nova funcionalidade faça mais sentido: vamos introduzir "
583+
"a opção ``--quiet``, que será o oposto da opção ``--verbose``::"
567584

568585
#:../../howto/argparse.rst:696
569586
msgid""

‎howto/sorting.po‎

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ msgstr ""
6363

6464
#:../../howto/sorting.rst:18
6565
msgid"Sorting Basics"
66-
msgstr"Básico deOrdenação"
66+
msgstr"Básico deordenação"
6767

6868
#:../../howto/sorting.rst:20
6969
msgid""
7070
"A simple ascending sort is very easy: just call the :func:`sorted` function. "
7171
"It returns a new sorted list:"
7272
msgstr""
7373
"Uma ordenação ascendente simples é muito fácil: apenas chame a função :func:"
74-
"`sorted`.Retorna uma nova lista ordenada:"
74+
"`sorted`.Você terá como retorno uma nova lista ordenada:"
7575

7676
#:../../howto/sorting.rst:28
7777
msgid""
@@ -80,10 +80,11 @@ msgid ""
8080
"than :func:`sorted` - but if you don't need the original list, it's slightly "
8181
"more efficient."
8282
msgstr""
83-
"Você também pode utilizar o método :meth:`list.sort`. Isso modifica a lista "
84-
"em si (e retorna ``None`` para evitar confusão). Usualmente este método é "
85-
"menos conveniente que a função :func:`sorted` - mas se você não precisará da "
86-
"lista original, esta maneira é levemente mais eficiente."
83+
"Você também pode utilizar o método :meth:`list.sort`. Ele modificará a lista "
84+
"localmente (e retornará ``None`` para evitar confusão). Usualmente este "
85+
"método é menos conveniente que a função :func:`sorted` - mas, se a lista "
86+
"original não for posteriormente útil, esta maneira será levemente mais "
87+
"eficiente."
8788

8889
#:../../howto/sorting.rst:40
8990
msgid""
@@ -95,7 +96,7 @@ msgstr ""
9596

9697
#:../../howto/sorting.rst:49
9798
msgid"Key Functions"
98-
msgstr"FunçõesChave"
99+
msgstr"Funçõeschave"
99100

100101
#:../../howto/sorting.rst:51
101102
msgid""
@@ -119,16 +120,16 @@ msgid ""
119120
"each input record."
120121
msgstr""
121122
"O valor do parâmetro *key* deve ser uma função (ou outro chamável) que "
122-
"recebe um único argumento e retorna uma chave à ser utilizadacom o "
123-
"propósito de ordenação. Esta técnica é rápida porque a função chave é "
124-
"chamada exatamente uma vez para cada entrada de registro."
123+
"recebe um único argumento e retorna uma chave à ser utilizadana ordenação. "
124+
"Como a função chave é chamada exatamente uma vez para cada elemento, esta "
125+
"técnica é rápida."
125126

126127
#:../../howto/sorting.rst:67
127128
msgid""
128129
"A common pattern is to sort complex objects using some of the object's "
129130
"indices as keys. For example:"
130131
msgstr""
131-
"Uma padrão comum é ordenar objetos complexos utilizandoalgum índice do "
132+
"Um padrão comum é ordenar objetos complexos utilizandoum dos índices do "
132133
"objeto como chave. Por exemplo:"
133134

134135
#:../../howto/sorting.rst:80

‎library/asyncio-dev.po‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.10\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-22 21:19+0000\n"
14+
"POT-Creation-Date:2025-09-23 17:01+0000\n"
1515
"PO-Revision-Date:2025-09-22 15:57+0000\n"
1616
"Last-Translator:python-doc bot, 2025\n"
1717
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -219,6 +219,8 @@ msgid ""
219219
"The default log level is :py:data:`logging.INFO`, which can be easily "
220220
"adjusted::"
221221
msgstr""
222+
"O nível de log padrão é :py:data:`logging.INFO`, mas pode ser facilmente "
223+
"ajustado::"
222224

223225
#:../../library/asyncio-dev.rst:151
224226
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp