@@ -35,12 +35,19 @@ msgid ""
35
35
"impossible to determine what the type of keys it supports. This function "
36
36
"always succeeds."
37
37
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."
38
43
39
44
#: ../../c-api/sequence.rst:23
40
45
msgid ""
41
46
"Returns the number of objects in sequence *o* on success, and ``-1`` on "
42
47
"failure. This is equivalent to the Python expression ``len(o)``."
43
48
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)``."
44
51
45
52
#: ../../c-api/sequence.rst:29
46
53
msgid ""
@@ -87,6 +94,10 @@ msgid ""
87
94
"of the Python statement ``o[i] = v``. This function *does not* steal a "
88
95
"reference to *v*."
89
96
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*."
90
101
91
102
#: ../../c-api/sequence.rst:72
92
103
msgid ""
@@ -99,18 +110,24 @@ msgid ""
99
110
"Delete the *i*\\ th element of object *o*. Returns ``-1`` on failure. This "
100
111
"is the equivalent of the Python statement ``del o[i]``."
101
112
msgstr ""
113
+ "Exclui o elemento *i* do objeto *o*. Retorna ``-1`` em caso de falha. Isso é "
114
+ "equivalente à instrução Python ``del o[i]``."
102
115
103
116
#: ../../c-api/sequence.rst:84
104
117
msgid ""
105
118
"Assign the sequence object *v* to the slice in sequence object *o* from *i1* "
106
119
"to *i2*. This is the equivalent of the Python statement ``o[i1:i2] = v``."
107
120
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``."
108
123
109
124
#: ../../c-api/sequence.rst:90
110
125
msgid ""
111
126
"Delete the slice in sequence object *o* from *i1* to *i2*. Returns ``-1`` "
112
127
"on failure. This is the equivalent of the Python statement ``del o[i1:i2]``."
113
128
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]``."
114
131
115
132
#: ../../c-api/sequence.rst:96
116
133
msgid ""
0 commit comments