Skip to content

Commit fbe1131

Browse files
pomerge from 3.9 branch into 2.7
1 parent 405e785 commit fbe1131

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

library/numbers.po

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ msgid ""
100100
"`~Rational.denominator` properties, which should be in lowest terms. With "
101101
"these, it provides a default for :func:`float`."
102102
msgstr ""
103+
"Estende :class:`Real` e adiciona as propriedades :attr:`~Rational.numerator` "
104+
"e :attr:`~Rational.denominator`, que devem estar nos termos mais baixos. Com "
105+
"eles, ele fornece um padrão para :func:`float`."
103106

104107
#: ../../library/numbers.rst:67 ../../library/numbers.rst:71
105108
msgid "Abstract."
@@ -198,26 +201,37 @@ msgid ""
198201
"Then ``B``'s :meth:`__radd__` gets a chance. If it accepts ``a``, all is "
199202
"well."
200203
msgstr ""
204+
"Então, :meth:`__radd__` do ``B`` consegue uma chance. Se ele aceitar ``a``, "
205+
"está tudo bem."
201206

202207
#: ../../library/numbers.rst:166
203208
msgid ""
204209
"If it falls back to the boilerplate, there are no more possible methods to "
205210
"try, so this is where the default implementation should live."
206211
msgstr ""
212+
"Se ele recorrer ao padrão, não há mais métodos possíveis para tentar, então "
213+
"é aqui que a implementação padrão deve residir."
207214

208215
#: ../../library/numbers.rst:169
209216
msgid ""
210217
"If ``B <: A``, Python tries ``B.__radd__`` before ``A.__add__``. This is ok, "
211218
"because it was implemented with knowledge of ``A``, so it can handle those "
212219
"instances before delegating to :class:`Complex`."
213220
msgstr ""
221+
"Se ``B <: A``, Python tenta ``B.__radd__`` antes de ``A.__add__``. Isso está "
222+
"ok, porque foi implementado com conhecimento de ``A``, então ele pode lidar "
223+
"com essas instâncias antes de delegar para :class:`Complex`."
214224

215225
#: ../../library/numbers.rst:174
216226
msgid ""
217227
"If ``A <: Complex`` and ``B <: Real`` without sharing any other knowledge, "
218228
"then the appropriate shared operation is the one involving the built in :"
219229
"class:`complex`, and both :meth:`__radd__` s land there, so ``a+b == b+a``."
220230
msgstr ""
231+
"Se ``A <: Complex`` e ``B <: Real`` sem compartilhar nenhum outro "
232+
"conhecimento, então a operação compartilhada apropriada é aquela envolvendo "
233+
"a :class:`complex` embutida, e ambos :meth:`__radd__` s chegam lá, de forma "
234+
"que ``a+b == b+a``."
221235

222236
#: ../../library/numbers.rst:179
223237
msgid ""
@@ -226,3 +240,6 @@ msgid ""
226240
"reverse instances of any given operator. For example, :class:`fractions."
227241
"Fraction` uses::"
228242
msgstr ""
243+
"Como a maioria das operações em qualquer tipo será muito semelhante, pode "
244+
"ser útil definir uma função auxiliar que gera as instâncias de avanço e "
245+
"reversão de qualquer operador. Por exemplo, :class:`fractions.Fraction` usa::"

0 commit comments

Comments
 (0)