Skip to content

Commit 92ab65a

Browse files
pomerge from 3.9 branch into 3.7
1 parent 8a0a950 commit 92ab65a

File tree

5 files changed

+36
-4
lines changed

5 files changed

+36
-4
lines changed

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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,12 @@ msgid ""
276276
"interface, and may be used wherever :term:`bytes-like objects <bytes-like "
277277
"object>` are supported."
278278
msgstr ""
279+
"Objetos array tem suporte para as operações de sequência comuns: indexação, "
280+
"fatiamento, concatenação, e multiplicação. Quando usando a atribuição de "
281+
"fatias, o valor associado deve ser um objeto array com o mesmo código de "
282+
"tipo; caso contrário , :exc:`TypeError` é levantada. Objetos array também "
283+
"implementam a interface buffer, e também podem ser usados em qualquer lugar "
284+
"onde :term:`bytes-like objects <bytes-like object>` é permitido."
279285

280286
#: ../../library/array.rst:90
281287
msgid "The following data items and methods are also supported:"

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
@@ -136,7 +136,7 @@ msgstr ""
136136

137137
#: ../../library/asyncio-task.rst:156
138138
msgid "Tasks"
139-
msgstr ""
139+
msgstr "Tarefas"
140140

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

whatsnew/3.7.po

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

25432543
#: ../../whatsnew/3.7.rst:1757
25442544
msgid "Build Changes"
2545-
msgstr ""
2545+
msgstr "Alterações de compilação"
25462546

25472547
#: ../../whatsnew/3.7.rst:1759
25482548
msgid ""

0 commit comments

Comments
 (0)