Skip to content

Traducción library/numbers.po #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 17, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix references
  • Loading branch information
humitos committed May 17, 2020
commit a120514412a60005e35137d52525cb989e6dfa1b
17 changes: 9 additions & 8 deletions library/numbers.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ msgstr ":mod:`numbers` --- Clase base abstracta numérica"
#: ../Doc/library/numbers.rst:7
msgid "**Source code:** :source:`Lib/numbers.py`"
msgstr "**Código fuente:** :source:`Lib/numbers.py`"

# revisar como usamos "abstract base classes" en el glosario
#: ../Doc/library/numbers.rst:11
#, fuzzy
Expand Down Expand Up @@ -64,9 +65,9 @@ msgid ""
msgstr ""
"Las subclases de este tipo describen números complejos e incluyen las "
"operaciones integradas del tipo :class:`complex`. Estas son: conversiones a :"
"class:`complex` y :class:`bool`, :attr:`.real`, :attr:`."
".imag`, ``+``, ``-``, ``*`, ``/``, 'func:`abs`, :meth:`conjugate`, "
"``==``, y ``!=``. Todos excepto ``-`` y ``!=`` estos son abstractos."
"class:`complex` y :class:`bool`, :attr:`.real`, :attr:`..imag`, ``+``, ``-"
"``, ``*`, ``/``, :func:`abs`, :meth:`conjugate`, ``==``, y ``!=``. Todos "
"excepto ``-`` y ``!=`` estos son abstractos."

#: ../Doc/library/numbers.rst:35
msgid "Abstract. Retrieves the real component of this number."
Expand Down Expand Up @@ -118,9 +119,9 @@ msgid ""
"`~Rational.denominator` properties, which should be in lowest terms. With "
"these, it provides a default for :func:`float`."
msgstr ""
"Hereda de :class:`Real` y agrega las propiedades :attr:`~Rational.numerator` y :"
"attr:`~Rational.denominator`, que deberían estar en los términos más bajos. "
"Con esto, se proporciona un valor predeterminado a :func:`float`."
"Hereda de :class:`Real` y agrega las propiedades :attr:`~Rational.numerator` "
"y :attr:`~Rational.denominator`, que deberían estar en los términos más "
"bajos. Con esto, se proporciona un valor predeterminado a :func:`float`."

#: ../Doc/library/numbers.rst:68 ../Doc/library/numbers.rst:72
msgid "Abstract."
Expand Down Expand Up @@ -176,14 +177,14 @@ msgid "Implementing the arithmetic operations"
msgstr "Implementar operaciones aritméticas"

#: ../Doc/library/numbers.rst:121
#, fuzzy
msgid ""
"We want to implement the arithmetic operations so that mixed-mode operations "
"either call an implementation whose author knew about the types of both "
"arguments, or convert both to the nearest built in type and do the operation "
"there. For subtypes of :class:`Integral`, this means that :meth:`__add__` "
"and :meth:`__radd__` should be defined as::"
msgstr ""

# boilerplate -> repetitivo --revisar en todo el archivo
#: ../Doc/library/numbers.rst:152
#, fuzzy
Expand Down Expand Up @@ -213,7 +214,7 @@ msgid ""
"`__add__` at all.)"
msgstr ""
"Si ``A`` recurre al código repetitivo y devuelve un valor de :meth:"
"`__add__`, perderíamos la posibilidad de que B defina un __radd __() más "
"`__add__`, perderíamos la posibilidad de que B defina un :meth:`__radd __` más "
"inteligente, por lo que el código repetitivo debería devolver :const:"
"`NotImplemented` de :meth:`__add__`. (O ``A`` no puede implementar :meth:"
"`__add__` en absoluto.)"
Expand Down