Skip to content

Commit a02b1a1

Browse files
pomerge from 3.9 branch into 3.8
1 parent bcdb7cf commit a02b1a1

10 files changed

Lines changed: 66 additions & 31 deletions

File tree

c-api/function.po

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ msgid ""
4949
"Return true if *o* is a function object (has type :c:data:"
5050
"`PyFunction_Type`). The parameter must not be ``NULL``."
5151
msgstr ""
52+
"Retorna verdadeiro se *o* for um objeto de função (tem tipo: c: dados: "
53+
"`PyFunction_Type`). O parâmetro não deve ser ``NULL``."
5254

5355
#: ../../c-api/function.rst:34
5456
msgid ""
@@ -67,6 +69,10 @@ msgid ""
6769
"and closure are set to ``NULL``. *__qualname__* is set to the same value as "
6870
"the function's name."
6971
msgstr ""
72+
"A docstring e o nome da função são recuperados do objeto de código. "
73+
"*__module__ * é recuperado de *globals*. Os padrões de argumento, as "
74+
"anotações e o encerramento são definidos como ``NULL``. *__qualname__* está "
75+
"definido para o mesmo valor que o nome da função."
7076

7177
#: ../../c-api/function.rst:44
7278
msgid ""
@@ -75,6 +81,10 @@ msgid ""
7581
"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same "
7682
"value as its ``__name__`` attribute."
7783
msgstr ""
84+
"Como :c:func:`PyFunction_New`, mas também permite configurar o atributo "
85+
"``__qualname__`` do objeto da função. *qualname* deve ser um objeto unicode "
86+
"ou ``NULL``; Se ``NULL``, o atributo ``__qualname__`` é definido como o "
87+
"mesmo valor que o atributo ``__name__``."
7888

7989
#: ../../c-api/function.rst:54
8090
msgid "Return the code object associated with the function object *op*."
@@ -99,12 +109,16 @@ msgid ""
99109
"Return the argument default values of the function object *op*. This can be "
100110
"a tuple of arguments or ``NULL``."
101111
msgstr ""
112+
"Retorna o argumento os valores padrão do objeto de função *op*. Isso pode "
113+
"ser uma tupla de argumentos ou ``NULL``."
102114

103115
#: ../../c-api/function.rst:77
104116
msgid ""
105117
"Set the argument default values for the function object *op*. *defaults* "
106118
"must be ``Py_None`` or a tuple."
107119
msgstr ""
120+
"Define o argumento valores padrão para o objeto de função *op*. *defaults* "
121+
"deve ser ``Py_None`` ou uma tupla."
108122

109123
#: ../../c-api/function.rst:80 ../../c-api/function.rst:94
110124
#: ../../c-api/function.rst:108
@@ -116,21 +130,29 @@ msgid ""
116130
"Return the closure associated with the function object *op*. This can be "
117131
"``NULL`` or a tuple of cell objects."
118132
msgstr ""
133+
"Retorna o fechamento associado ao objeto de função *op*. Isso pode ser "
134+
"``NULL`` ou uma tupla de objetos de célula."
119135

120136
#: ../../c-api/function.rst:91
121137
msgid ""
122138
"Set the closure associated with the function object *op*. *closure* must be "
123139
"``Py_None`` or a tuple of cell objects."
124140
msgstr ""
141+
"Define o fechamento associado ao objeto de função *op*. *closure* deve ser "
142+
"``Py_None`` ou uma tupla de objetos de célula."
125143

126144
#: ../../c-api/function.rst:99
127145
msgid ""
128146
"Return the annotations of the function object *op*. This can be a mutable "
129147
"dictionary or ``NULL``."
130148
msgstr ""
149+
"Retorna as anotações do objeto de função *op*. Este pode ser um dicionário "
150+
"mutável ou ``NULL``."
131151

132152
#: ../../c-api/function.rst:105
133153
msgid ""
134154
"Set the annotations for the function object *op*. *annotations* must be a "
135155
"dictionary or ``Py_None``."
136156
msgstr ""
157+
"Define as anotações para o objeto de função *op*. *annotations* deve ser um "
158+
"dicionário ou ``Py_None``."

library/array.po

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ msgstr ""
2828

2929
#: ../../library/array.rst:2
3030
msgid ":mod:`array` --- Efficient arrays of numeric values"
31-
msgstr ":mod:`array`--- Arrays eficientes de valores numéricos"
31+
msgstr ":mod:`array`--- Vetores eficientes de valores numéricos"
3232

3333
#: ../../library/array.rst:11
3434
msgid ""
@@ -40,15 +40,15 @@ msgid ""
4040
"following type codes are defined:"
4141
msgstr ""
4242
"Esse módulo define um tipo de objeto que pode representar compactamente um "
43-
"array de valores básicos: caracteres, inteiros, números de ponto flutuante. "
44-
"Arrays são tipos de sequência e funcionam bem parecidamente com listas, "
43+
"vetor de valores básicos: caracteres, inteiros, números de ponto flutuante. "
44+
"Vetores são tipos de sequência e funcionam bem parecidamente com listas, "
4545
"porém o tipo dos objetos armazenados é restringido. O tipo é especificado na "
46-
"criação do objeto usando um type code, que é um único caractere. Os "
47-
"seguintes type codes são definidos: "
46+
"criação do objeto usando um :dfn:`código de tipo`, que é um único caractere. "
47+
"São definidos os seguintes códigos de tipo:"
4848

4949
#: ../../library/array.rst:19
5050
msgid "Type code"
51-
msgstr "Type code"
51+
msgstr "Código de tipo"
5252

5353
#: ../../library/array.rst:19
5454
msgid "C Type"
@@ -235,7 +235,7 @@ msgid ""
235235
msgstr ""
236236
"A representação dos valores é definida pela arquitetura da máquina, mais "
237237
"especificamente da implementação do C. O tamanho real pode ser acessado pelo "
238-
"atributo :attr:`itemsize`"
238+
"atributo :attr:`itemsize`."
239239

240240
#: ../../library/array.rst:64
241241
msgid "The module defines the following type:"
@@ -247,9 +247,10 @@ msgid ""
247247
"the optional *initializer* value, which must be a list, a :term:`bytes-like "
248248
"object`, or iterable over elements of the appropriate type."
249249
msgstr ""
250-
"Um novo array cujos itens são restritos pelo *type code* e inicializados "
251-
"pelo valor opcional *initializer*, que deve ser uma lista, um :term:`bytes-"
252-
"like object`, ou outro elementos iterável do tipo apropriado."
250+
"Um novo vetor cujos itens são restritos pelo *código de tipo* e "
251+
"inicializados pelo valor opcional *initializer*, que deve ser uma lista, um :"
252+
"term:`objeto byte ou similar <bytes-like object>`, ou outros elementos "
253+
"iteráveis do tipo apropriado."
253254

254255
#: ../../library/array.rst:74
255256
msgid ""
@@ -260,18 +261,20 @@ msgid ""
260261
msgstr ""
261262
"Se passado uma lista ou string, o inicializador é passado para os métodos :"
262263
"meth:`fromlist`, :meth:`frombytes`, ou :meth:`fromunicode` (ver abaixo) do "
263-
"novo array para adicionar itens iniciais ao array. Caso contrário, o "
264+
"novo vetor para adicionar itens iniciais ao vetor. Caso contrário, o "
264265
"inicializador iterável é passado para o método :meth:`extend`."
265266

266267
#: ../../library/array.rst:79
267268
msgid ""
268269
"Raises an :ref:`auditing event <auditing>` ``array.__new__`` with arguments "
269270
"``typecode``, ``initializer``."
270271
msgstr ""
272+
"Levanta um :ref:`evento de auditoria <auditing>` ``array.__new__`` com "
273+
"argumentos ``typecode``, ``initializer``."
271274

272275
#: ../../library/array.rst:83
273276
msgid "A string with all available type codes."
274-
msgstr "String com todos os types codes disponíveis."
277+
msgstr "String com todos os códigos de tipo disponíveis."
275278

276279
#: ../../library/array.rst:85
277280
msgid ""
@@ -282,22 +285,28 @@ msgid ""
282285
"interface, and may be used wherever :term:`bytes-like objects <bytes-like "
283286
"object>` are supported."
284287
msgstr ""
288+
"Objetos array tem suporte para as operações de sequência comuns: indexação, "
289+
"fatiamento, concatenação, e multiplicação. Quando usando a atribuição de "
290+
"fatias, o valor associado deve ser um objeto array com o mesmo código de "
291+
"tipo; caso contrário , :exc:`TypeError` é levantada. Objetos array também "
292+
"implementam a interface buffer, e também podem ser usados em qualquer lugar "
293+
"onde :term:`bytes-like objects <bytes-like object>` é permitido."
285294

286295
#: ../../library/array.rst:91
287296
msgid "The following data items and methods are also supported:"
288297
msgstr "Os seguintes itens e métodos também são suportados:"
289298

290299
#: ../../library/array.rst:95
291300
msgid "The typecode character used to create the array."
292-
msgstr "O caractere typecode usado para criar o array."
301+
msgstr "O caractere typecode usado para criar o vetor."
293302

294303
#: ../../library/array.rst:100
295304
msgid "The length in bytes of one array item in the internal representation."
296-
msgstr "O tamanho em bytes de um item do array em representação interna."
305+
msgstr "O tamanho em bytes de um item do vetor em representação interna."
297306

298307
#: ../../library/array.rst:105
299308
msgid "Append a new item with value *x* to the end of the array."
300-
msgstr "Adiciona um novo item com valor *x* ao final do array."
309+
msgstr "Adiciona um novo item com valor *x* ao final do vetor."
301310

302311
#: ../../library/array.rst:110
303312
msgid ""
@@ -311,12 +320,12 @@ msgid ""
311320
"it."
312321
msgstr ""
313322
"Retorna uma tupla ``(address, length)`` com o endereço corrente da memória e "
314-
"o tamanho em elementos do buffer usado para armazenar conteúdos do array. O "
323+
"o tamanho em elementos do buffer usado para armazenar conteúdos do vetor. O "
315324
"tamanho do buffer da memória em bytes pode ser computado como ``array."
316325
"buffer_info()[1] * array.itemsize``. Isso é ocasionalmente útil quando se "
317326
"está trabalhando com interfaces I/O de baixo nível (inerentemente inseguras) "
318327
"que precisam de endereços de memória, como algumas operações :c:func:"
319-
"`ioctl`. Os números retornados são válidos enquanto o array existir e "
328+
"`ioctl`. Os números retornados são válidos enquanto o vetor existir e "
320329
"nenhuma operação de alteração de tamanho for aplicada a ele."
321330

322331
#: ../../library/array.rst:120
@@ -327,9 +336,9 @@ msgid ""
327336
"backward compatibility and should be avoided in new code. The buffer "
328337
"interface is documented in :ref:`bufferobjects`."
329338
msgstr ""
330-
"Quando se está usando arrays de código escrito em C ou C++ (o único jeito "
339+
"Quando se está usando vetores de código escrito em C ou C++ (o único jeito "
331340
"efetivo de usar essa informação), faz mais sentido usar a interface do "
332-
"buffer suportada pelos arrays. Esse método é mantido para "
341+
"buffer suportada pelos vetores. Esse método é mantido para "
333342
"retrocompatibilidade e deve ser evitado em código novo. A interface de "
334343
"buffers está documentada em :ref:`bufferobjects`."
335344

library/asyncio-api-index.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,25 @@ msgstr ""
2727

2828
#: ../../library/asyncio-api-index.rst:6
2929
msgid "High-level API Index"
30-
msgstr ""
30+
msgstr "Índice da API de alto nível"
3131

3232
#: ../../library/asyncio-api-index.rst:8
3333
msgid "This page lists all high-level async/await enabled asyncio APIs."
3434
msgstr ""
35+
"Esta página lista todas as APIs asyncio de alto nível habilitadas por async/"
36+
"await."
3537

3638
#: ../../library/asyncio-api-index.rst:12
3739
msgid "Tasks"
38-
msgstr ""
40+
msgstr "Tarefas"
3941

4042
#: ../../library/asyncio-api-index.rst:14
4143
msgid ""
4244
"Utilities to run asyncio programs, create Tasks, and await on multiple "
4345
"things with timeouts."
4446
msgstr ""
47+
"Utilitários para executar programas asyncio, criar Tasks, e esperar por "
48+
"múltiplas coisas com tempos limites."
4549

4650
#: ../../library/asyncio-api-index.rst:21
4751
msgid ":func:`run`"

library/asyncio-task.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ msgstr ""
137137

138138
#: ../../library/asyncio-task.rst:156
139139
msgid "Tasks"
140-
msgstr ""
140+
msgstr "Tarefas"
141141

142142
#: ../../library/asyncio-task.rst:157
143143
msgid "*Tasks* are used to schedule coroutines *concurrently*."

whatsnew/3.3.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3300,7 +3300,7 @@ msgstr ""
33003300

33013301
#: ../../whatsnew/3.3.rst:2209
33023302
msgid "Deprecated"
3303-
msgstr "Descontinuado"
3303+
msgstr "Descontinuados"
33043304

33053305
#: ../../whatsnew/3.3.rst:2212
33063306
msgid "Unsupported Operating Systems"

whatsnew/3.4.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3949,7 +3949,7 @@ msgstr ""
39493949

39503950
#: ../../whatsnew/3.4.rst:2067
39513951
msgid "Deprecated"
3952-
msgstr "Descontinuado"
3952+
msgstr "Descontinuados"
39533953

39543954
#: ../../whatsnew/3.4.rst:2069
39553955
msgid ""
@@ -4133,7 +4133,7 @@ msgstr ""
41334133

41344134
#: ../../whatsnew/3.4.rst:2157
41354135
msgid "Removed"
4136-
msgstr "Removed"
4136+
msgstr "Removidos"
41374137

41384138
#: ../../whatsnew/3.4.rst:2161
41394139
msgid "Operating Systems No Longer Supported"

whatsnew/3.5.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2909,7 +2909,7 @@ msgstr ""
29092909

29102910
#: ../../whatsnew/3.5.rst:2262
29112911
msgid "Deprecated"
2912-
msgstr "Descontinuado"
2912+
msgstr "Descontinuados"
29132913

29142914
#: ../../whatsnew/3.5.rst:2265
29152915
msgid "New Keywords"
@@ -3047,7 +3047,7 @@ msgstr ""
30473047

30483048
#: ../../whatsnew/3.5.rst:2352
30493049
msgid "Removed"
3050-
msgstr "Removed"
3050+
msgstr "Removidos"
30513051

30523052
#: ../../whatsnew/3.5.rst:2355
30533053
msgid "API and Feature Removals"

whatsnew/3.6.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2799,7 +2799,7 @@ msgstr ""
27992799

28002800
#: ../../whatsnew/3.6.rst:1923
28012801
msgid "Deprecated"
2802-
msgstr "Descontinuado"
2802+
msgstr "Descontinuados"
28032803

28042804
#: ../../whatsnew/3.6.rst:1926
28052805
msgid "New Keywords"
@@ -3000,7 +3000,7 @@ msgstr ""
30003000

30013001
#: ../../whatsnew/3.6.rst:2084
30023002
msgid "Removed"
3003-
msgstr "Removed"
3003+
msgstr "Removidos"
30043004

30053005
#: ../../whatsnew/3.6.rst:2087
30063006
msgid "API and Feature Removals"

whatsnew/3.7.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2517,7 +2517,7 @@ msgstr ""
25172517

25182518
#: ../../whatsnew/3.7.rst:1744
25192519
msgid "Build Changes"
2520-
msgstr ""
2520+
msgstr "Alterações de compilação"
25212521

25222522
#: ../../whatsnew/3.7.rst:1746
25232523
msgid ""

whatsnew/3.8.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2764,7 +2764,7 @@ msgstr ""
27642764

27652765
#: ../../whatsnew/3.8.rst:1623
27662766
msgid "Deprecated"
2767-
msgstr "Descontinuado"
2767+
msgstr "Descontinuados"
27682768

27692769
#: ../../whatsnew/3.8.rst:1625
27702770
msgid ""

0 commit comments

Comments
 (0)