@@ -26,6 +26,7 @@ msgstr ":mod:`numbers` --- Clase base abstracta numérica"
26
26
#: ../Doc/library/numbers.rst:7
27
27
msgid "**Source code:** :source:`Lib/numbers.py`"
28
28
msgstr "**Código fuente:** :source:`Lib/numbers.py`"
29
+
29
30
# revisar como usamos "abstract base classes" en el glosario
30
31
#: ../Doc/library/numbers.rst:11
31
32
#, fuzzy
@@ -64,9 +65,9 @@ msgid ""
64
65
msgstr ""
65
66
"Las subclases de este tipo describen números complejos e incluyen las "
66
67
"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."
70
71
71
72
#: ../Doc/library/numbers.rst:35
72
73
msgid "Abstract. Retrieves the real component of this number."
@@ -118,9 +119,9 @@ msgid ""
118
119
"`~Rational.denominator` properties, which should be in lowest terms. With "
119
120
"these, it provides a default for :func:`float`."
120
121
msgstr ""
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`."
124
125
125
126
#: ../Doc/library/numbers.rst:68 ../Doc/library/numbers.rst:72
126
127
msgid "Abstract."
@@ -176,14 +177,14 @@ msgid "Implementing the arithmetic operations"
176
177
msgstr "Implementar operaciones aritméticas"
177
178
178
179
#: ../Doc/library/numbers.rst:121
179
- #, fuzzy
180
180
msgid ""
181
181
"We want to implement the arithmetic operations so that mixed-mode operations "
182
182
"either call an implementation whose author knew about the types of both "
183
183
"arguments, or convert both to the nearest built in type and do the operation "
184
184
"there. For subtypes of :class:`Integral`, this means that :meth:`__add__` "
185
185
"and :meth:`__radd__` should be defined as::"
186
186
msgstr ""
187
+
187
188
# boilerplate -> repetitivo --revisar en todo el archivo
188
189
#: ../Doc/library/numbers.rst:152
189
190
#, fuzzy
@@ -213,7 +214,7 @@ msgid ""
213
214
"`__add__` at all.)"
214
215
msgstr ""
215
216
"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 "
217
218
"inteligente, por lo que el código repetitivo debería devolver :const:"
218
219
"`NotImplemented` de :meth:`__add__`. (O ``A`` no puede implementar :meth:"
219
220
"`__add__` en absoluto.)"
0 commit comments