Skip to content

Commit 6c8306a

Browse files
pomerge from 3.9 branch into 3.7
1 parent 43a8a20 commit 6c8306a

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

c-api/tuple.po

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ msgstr ""
6363
#: ../../c-api/tuple.rst:36
6464
msgid "Return a new tuple object of size *len*, or ``NULL`` on failure."
6565
msgstr ""
66+
"Retorna um novo objeto tupla de tamanho *len*, ou ``NULL`` em caso de falha."
6667

6768
#: ../../c-api/tuple.rst:41
6869
msgid ""
@@ -71,60 +72,85 @@ msgid ""
7172
"objects. ``PyTuple_Pack(2, a, b)`` is equivalent to "
7273
"``Py_BuildValue(\"(OO)\", a, b)``."
7374
msgstr ""
75+
"Retorna um novo objeto tupla de tamanho *n*, ou ``NULL`` em caso de falha. "
76+
"Os valores da tupla são inicializados para os *n* argumentos C subsequentes "
77+
"apontando para objetos Python. ```PyTuple_Pack(2, a, b)`` é equivalente a "
78+
"``Py_BuildValue(\"(OO)\", a, b)``."
7479

7580
#: ../../c-api/tuple.rst:48
7681
msgid "Take a pointer to a tuple object, and return the size of that tuple."
77-
msgstr ""
82+
msgstr "Pega um ponteiro para um objeto tupla e retorna o tamanho dessa tupla."
7883

7984
#: ../../c-api/tuple.rst:53
8085
msgid ""
8186
"Return the size of the tuple *p*, which must be non-``NULL`` and point to a "
8287
"tuple; no error checking is performed."
8388
msgstr ""
89+
"Retorna o tamanho da tupla *p*, que deve ser diferente de ``NULL`` e apontar "
90+
"para uma tupla; nenhuma verificação de erro é executada."
8491

8592
#: ../../c-api/tuple.rst:59
8693
msgid ""
8794
"Return the object at position *pos* in the tuple pointed to by *p*. If "
8895
"*pos* is out of bounds, return ``NULL`` and set an :exc:`IndexError` "
8996
"exception."
9097
msgstr ""
98+
"Retorna o objeto na posição *pos* na tupla apontada por *p*. Se *pos* "
99+
"estiver fora dos limites, retorna ``NULL`` e define uma exceção :exc:"
100+
"`IndexError`."
91101

92102
#: ../../c-api/tuple.rst:65
93103
msgid "Like :c:func:`PyTuple_GetItem`, but does no checking of its arguments."
94104
msgstr ""
105+
"Como :c:func:`PyTuple_GetItem`, mas faz nenhuma verificação de seus "
106+
"argumentos."
95107

96108
#: ../../c-api/tuple.rst:70
97109
msgid ""
98110
"Return the slice of the tuple pointed to by *p* between *low* and *high*, or "
99111
"``NULL`` on failure. This is the equivalent of the Python expression "
100112
"``p[low:high]``. Indexing from the end of the list is not supported."
101113
msgstr ""
114+
"Retorna a fatia da tupla apontada por *p* entre *low* (baixo) e *high* "
115+
"(alto), ou ``NULL`` em caso de falha. Este é o equivalente da expressão "
116+
"Python ``p[low:high]``. A indexação do final da lista não é suportada."
102117

103118
#: ../../c-api/tuple.rst:77
104119
msgid ""
105120
"Insert a reference to object *o* at position *pos* of the tuple pointed to "
106121
"by *p*. Return ``0`` on success. If *pos* is out of bounds, return ``-1`` "
107122
"and set an :exc:`IndexError` exception."
108123
msgstr ""
124+
"Insere uma referência ao objeto *o* na posição *pos* da tupla apontada por "
125+
"*p*. Retorna ``0`` em caso de sucesso. Se *pos* estiver fora dos limites, "
126+
"retorne ``-1`` e define uma exceção :exc:`IndexError`."
109127

110128
#: ../../c-api/tuple.rst:83
111129
msgid ""
112130
"This function \"steals\" a reference to *o* and discards a reference to an "
113131
"item already in the tuple at the affected position."
114132
msgstr ""
133+
"Esta função \"rouba\" uma referência a *o* e descarta uma referência a um "
134+
"item já na tupla na posição afetada."
115135

116136
#: ../../c-api/tuple.rst:89
117137
msgid ""
118138
"Like :c:func:`PyTuple_SetItem`, but does no error checking, and should "
119139
"*only* be used to fill in brand new tuples."
120140
msgstr ""
141+
"Como :c:func:`PyTuple_SetItem`, mas não verifica erros e deve *apenas* ser "
142+
"usado para preencher novas tuplas."
121143

122144
#: ../../c-api/tuple.rst:94
123145
msgid ""
124146
"This macro \"steals\" a reference to *o*, and, unlike :c:func:"
125147
"`PyTuple_SetItem`, does *not* discard a reference to any item that is being "
126148
"replaced; any reference in the tuple at position *pos* will be leaked."
127149
msgstr ""
150+
"Esta macro \"rouba\" uma referência para *o* e, ao contrário de :c:func:"
151+
"`PyTuple_SetItem`, *não* descarta uma referência para nenhum item que esteja "
152+
"sendo substituído; qualquer referência na tupla na posição *pos* será "
153+
"perdida."
128154

129155
#: ../../c-api/tuple.rst:102
130156
msgid ""

library/asyncio-subprocess.po

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ msgstr "Executa o comando *cmd* no shell."
103103
msgid ""
104104
"See the documentation of :meth:`loop.subprocess_shell` for other parameters."
105105
msgstr ""
106+
"Veja a documentação de :meth:`loop.subprocess_shell` para outros parâmetros."
106107

107108
#: ../../library/asyncio-subprocess.rst:91
108109
msgid ""

0 commit comments

Comments
 (0)