Skip to content

Commit 1db8f3d

Browse files
pomerge from 3.9 branch into 3.6
1 parent 1851dfd commit 1db8f3d

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

c-api/object.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,18 @@ msgid ""
3232
"The ``NotImplemented`` singleton, used to signal that an operation is not "
3333
"implemented for the given type combination."
3434
msgstr ""
35+
"O singleton ``NotImplemented``, usado para sinalizar que uma operação não "
36+
"foi implementada para a combinação de tipo fornecida."
3537

3638
#: ../../c-api/object.rst:17
3739
msgid ""
3840
"Properly handle returning :c:data:`Py_NotImplemented` from within a C "
3941
"function (that is, increment the reference count of NotImplemented and "
4042
"return it)."
4143
msgstr ""
44+
"Trata corretamente o retorno de :c:data:`Py_NotImplemented` de dentro de uma "
45+
"função C (ou seja, incrementa a contagem de referências de NotImplemented e "
46+
"retorna-a)."
4247

4348
#: ../../c-api/object.rst:24
4449
msgid ""

c-api/sequence.po

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,19 @@ msgid ""
3535
"impossible to determine what the type of keys it supports. This function "
3636
"always succeeds."
3737
msgstr ""
38+
"Retorna ``1`` se o objeto fornecer protocolo de sequência e ``0`` caso "
39+
"contrário. Note que ele retorna ``1`` para classes Python com um método :"
40+
"meth:`__getitem__` a menos que sejam subclasses de :class:`dict` já que no "
41+
"caso geral é impossível determinar que tipo de chaves ela suporta. Esta "
42+
"função sempre tem sucesso."
3843

3944
#: ../../c-api/sequence.rst:23
4045
msgid ""
4146
"Returns the number of objects in sequence *o* on success, and ``-1`` on "
4247
"failure. This is equivalent to the Python expression ``len(o)``."
4348
msgstr ""
49+
"Retorna o número de objetos em sequência *o* em caso de sucesso e ``-1`` em "
50+
"caso de falha. Isso é equivalente à expressão Python ``len(o)``."
4451

4552
#: ../../c-api/sequence.rst:29
4653
msgid ""
@@ -87,6 +94,10 @@ msgid ""
8794
"of the Python statement ``o[i] = v``. This function *does not* steal a "
8895
"reference to *v*."
8996
msgstr ""
97+
"Atribui o objeto *v* ao elemento *i* de *o*. Levanta uma exceção e retorna "
98+
"``-1`` em caso de falha; retorna ``0`` em caso de sucesso. Isso é "
99+
"equivalente à instrução Python ``o[i]=v``. Esta função *não* rouba uma "
100+
"referência a *v*."
90101

91102
#: ../../c-api/sequence.rst:72
92103
msgid ""
@@ -99,18 +110,24 @@ msgid ""
99110
"Delete the *i*\\ th element of object *o*. Returns ``-1`` on failure. This "
100111
"is the equivalent of the Python statement ``del o[i]``."
101112
msgstr ""
113+
"Exclui o elemento *i* do objeto *o*. Retorna ``-1`` em caso de falha. Isso é "
114+
"equivalente à instrução Python ``del o[i]``."
102115

103116
#: ../../c-api/sequence.rst:84
104117
msgid ""
105118
"Assign the sequence object *v* to the slice in sequence object *o* from *i1* "
106119
"to *i2*. This is the equivalent of the Python statement ``o[i1:i2] = v``."
107120
msgstr ""
121+
"Atribui o objeto sequência *v* à fatia no objeto sequência *o* de *i1* a "
122+
"*i2*. Isso é equivalente à instrução Python ``o[i1:i2] = v``."
108123

109124
#: ../../c-api/sequence.rst:90
110125
msgid ""
111126
"Delete the slice in sequence object *o* from *i1* to *i2*. Returns ``-1`` "
112127
"on failure. This is the equivalent of the Python statement ``del o[i1:i2]``."
113128
msgstr ""
129+
"Exclui a fatia no objeto sequência *o* de *i1* a *i2*. Retorna ``-1`` em "
130+
"caso de falha. Isso é equivalente à instrução Python ``del o[i1:i2]``."
114131

115132
#: ../../c-api/sequence.rst:96
116133
msgid ""

library/sched.po

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

9999
#: ../../library/sched.rst:84 ../../library/sched.rst:97
100100
msgid "*kwargs* parameter was added."
101-
msgstr ""
101+
msgstr "o parâmetro *kwargs* foi adicionado."
102102

103103
#: ../../library/sched.rst:90
104104
msgid ""

0 commit comments

Comments
 (0)