@@ -26,6 +26,7 @@ msgstr ":mod:`numbers` --- Clase base abstracta numérica"
2626#: ../Doc/library/numbers.rst:7
2727msgid "**Source code:** :source:`Lib/numbers.py`"
2828msgstr "**Código fuente:** :source:`Lib/numbers.py`"
29+
2930# revisar como usamos "abstract base classes" en el glosario
3031#: ../Doc/library/numbers.rst:11
3132#, fuzzy
@@ -64,9 +65,9 @@ msgid ""
6465msgstr ""
6566"Las subclases de este tipo describen números complejos e incluyen las "
6667"operaciones integradas del tipo :class:`complex`. Estas son: conversiones a :"
67- "class:`complex` y :class:`bool`, :attr:`.real`, :attr:`."
68- ".imag`, ``+`` , ``-``, `` *`, ``/``, ' func:`abs`, :meth:`conjugate`, "
69- "``==``, y ``!=``. Todos excepto ``-`` y ``!=`` estos son abstractos."
68+ "class:`complex` y :class:`bool`, :attr:`.real`, :attr:`..imag`, ``+``, ``- "
69+ "`` , ``*`, ``/``, : func:`abs`, :meth:`conjugate`, ``==``, y ``!=``. Todos "
70+ "excepto ``-`` y ``!=`` estos son abstractos."
7071
7172#: ../Doc/library/numbers.rst:35
7273msgid "Abstract. Retrieves the real component of this number."
@@ -118,9 +119,9 @@ msgid ""
118119"`~Rational.denominator` properties, which should be in lowest terms. With "
119120"these, it provides a default for :func:`float`."
120121msgstr ""
121- "Hereda de :class:`Real` y agrega las propiedades :attr:`~Rational.numerator` y : "
122- "attr:`~Rational.denominator`, que deberían estar en los términos más bajos. "
123- "Con esto, se proporciona un valor predeterminado a :func:`float`."
122+ "Hereda de :class:`Real` y agrega las propiedades :attr:`~Rational.numerator` "
123+ "y : attr:`~Rational.denominator`, que deberían estar en los términos más "
124+ "bajos. Con esto, se proporciona un valor predeterminado a :func:`float`."
124125
125126#: ../Doc/library/numbers.rst:68 ../Doc/library/numbers.rst:72
126127msgid "Abstract."
@@ -176,14 +177,14 @@ msgid "Implementing the arithmetic operations"
176177msgstr "Implementar operaciones aritméticas"
177178
178179#: ../Doc/library/numbers.rst:121
179- #, fuzzy
180180msgid ""
181181"We want to implement the arithmetic operations so that mixed-mode operations "
182182"either call an implementation whose author knew about the types of both "
183183"arguments, or convert both to the nearest built in type and do the operation "
184184"there. For subtypes of :class:`Integral`, this means that :meth:`__add__` "
185185"and :meth:`__radd__` should be defined as::"
186186msgstr ""
187+
187188# boilerplate -> repetitivo --revisar en todo el archivo
188189#: ../Doc/library/numbers.rst:152
189190#, fuzzy
@@ -213,7 +214,7 @@ msgid ""
213214"`__add__` at all.)"
214215msgstr ""
215216"Si ``A`` recurre al código repetitivo y devuelve un valor de :meth:"
216- "`__add__`, perderíamos la posibilidad de que B defina un __radd __() más "
217+ "`__add__`, perderíamos la posibilidad de que B defina un :meth:` __radd __` más "
217218"inteligente, por lo que el código repetitivo debería devolver :const:"
218219"`NotImplemented` de :meth:`__add__`. (O ``A`` no puede implementar :meth:"
219220"`__add__` en absoluto.)"
0 commit comments