-
-
Notifications
You must be signed in to change notification settings - Fork 397
Traducido archivo c-api/number #3368
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
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,15 +11,16 @@ msgstr "" | |
"Project-Id-Version: Python 3.8\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-11-21 16:38-0300\n" | ||
"PO-Revision-Date: 2024-01-27 17:24+0100\n" | ||
"Last-Translator: Meta Louis-Kosmas <[email protected]>\n" | ||
"Language: es\n" | ||
"PO-Revision-Date: 2025-02-03 09:07-0300\n" | ||
"Last-Translator: srmorita <[email protected]>\n" | ||
"Language-Team: python-doc-es\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"Language: es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"Generated-By: Babel 2.16.0\n" | ||
"X-Generator: Poedit 3.5\n" | ||
|
||
#: ../Doc/c-api/number.rst:6 | ||
msgid "Number Protocol" | ||
|
@@ -80,7 +81,6 @@ msgstr "" | |
"``o1 // o2``." | ||
|
||
#: ../Doc/c-api/number.rst:52 | ||
#, fuzzy | ||
msgid "" | ||
"Return a reasonable approximation for the mathematical value of *o1* divided " | ||
"by *o2*, or ``NULL`` on failure. The return value is \"approximate\" " | ||
|
@@ -92,7 +92,7 @@ msgstr "" | |
"Retorna una aproximación razonable para el valor matemático de *o1* dividido " | ||
"por *o2* o ``NULL`` en caso de falla. El valor de retorno es \"aproximado\" " | ||
"porque los números binarios de punto flotante son aproximados; No es posible " | ||
"representar todos los números reales en la base dos. Esta función puede " | ||
"representar todos los números reales en base dos. Esta función puede " | ||
"retornar un valor de punto flotante cuando se pasan dos enteros. Es " | ||
"equivalente a la expresión de Python ``o1 / o2``." | ||
|
||
|
@@ -256,7 +256,6 @@ msgstr "" | |
"o2``." | ||
|
||
#: ../Doc/c-api/number.rst:178 | ||
#, fuzzy | ||
msgid "" | ||
"Return a reasonable approximation for the mathematical value of *o1* divided " | ||
"by *o2*, or ``NULL`` on failure. The return value is \"approximate\" " | ||
|
@@ -269,7 +268,7 @@ msgstr "" | |
"Retorna una aproximación razonable para el valor matemático de *o1* dividido " | ||
"por *o2* o ``NULL`` en caso de falla. El valor de retorno es \"aproximado\" " | ||
"porque los números binarios de coma flotante son aproximados; No es posible " | ||
"representar todos los números reales en la base dos. Esta función puede " | ||
"representar todos los números reales en base dos. Esta función puede " | ||
"retornar un valor de punto flotante cuando se pasan dos enteros. La " | ||
"operación se realiza en su lugar (*in-place*) cuando *o1* lo admite." | ||
|
||
|
@@ -296,9 +295,9 @@ msgstr "" | |
"falla. La operación se realiza en su lugar (*in-place*) cuando *o1* lo " | ||
"admite. Este es el equivalente de la declaración de Python ``o1 **= o2`` " | ||
"cuando *o3* es :c:data:`Py_None`, o una variante en su lugar (*in-place*) de " | ||
"``pow (o1, o2, o3)`` de lo contrario. Si se ignora *o3*, pase :c:data:" | ||
"`Py_None` en su lugar (pasar ``NULL`` para *o3* provocaría un acceso ilegal " | ||
"a la memoria)." | ||
"``pow (o1, o2, o3)`` de lo contrario. Si se ignora *o3*, " | ||
"pase :c:data:`Py_None` en su lugar (pasar ``NULL`` para *o3* provocaría un " | ||
"acceso ilegal a la memoria)." | ||
|
||
#: ../Doc/c-api/number.rst:206 | ||
msgid "" | ||
|
@@ -374,8 +373,8 @@ msgstr "" | |
|
||
#: ../Doc/c-api/number.rst:257 | ||
msgid "" | ||
"Returns the *o* converted to a Python int on success or ``NULL`` with a :exc:" | ||
"`TypeError` exception raised on failure." | ||
"Returns the *o* converted to a Python int on success or ``NULL`` with " | ||
"a :exc:`TypeError` exception raised on failure." | ||
msgstr "" | ||
"Retorna el *o* convertido aun entero de Python (*int*) en caso de éxito o " | ||
"``NULL`` con una excepción :exc:`TypeError` lanzada en caso de error." | ||
|
@@ -393,8 +392,8 @@ msgid "" | |
"Returns the integer *n* converted to base *base* as a string. The *base* " | ||
"argument must be one of 2, 8, 10, or 16. For base 2, 8, or 16, the returned " | ||
"string is prefixed with a base marker of ``'0b'``, ``'0o'``, or ``'0x'``, " | ||
"respectively. If *n* is not a Python int, it is converted with :c:func:" | ||
"`PyNumber_Index` first." | ||
"respectively. If *n* is not a Python int, it is converted " | ||
"with :c:func:`PyNumber_Index` first." | ||
msgstr "" | ||
"Retorna el entero *n* convertido a base *base* como una cadena de " | ||
"caracteres. El argumento *base* debe ser uno de 2, 8, 10 o 16. Para la base " | ||
|
@@ -403,66 +402,64 @@ msgstr "" | |
"(*int*) Python, primero se convierte con :c:func:`PyNumber_Index`." | ||
|
||
#: ../Doc/c-api/number.rst:276 | ||
#, fuzzy | ||
msgid "" | ||
"Returns *o* converted to a :c:type:`Py_ssize_t` value if *o* can be " | ||
"interpreted as an integer. If the call fails, an exception is raised and " | ||
"``-1`` is returned." | ||
msgstr "" | ||
"Retorna *o* convertido a un valor ``Py_ssize_t`` si *o* puede interpretarse " | ||
"como un entero. Si la llamada falla, se lanza una excepción y se retorna " | ||
"``-1``." | ||
"Retorna *o* convertido a un valor :c:type:`Py_ssize_t` si *o* puede " | ||
"interpretarse como un entero. Si la llamada falla, se lanza una excepción y " | ||
"se retorna ``-1``." | ||
|
||
#: ../Doc/c-api/number.rst:279 | ||
#, fuzzy | ||
msgid "" | ||
"If *o* can be converted to a Python int but the attempt to convert to a :c:" | ||
"type:`Py_ssize_t` value would raise an :exc:`OverflowError`, then the *exc* " | ||
"argument is the type of exception that will be raised (usually :exc:" | ||
"`IndexError` or :exc:`OverflowError`). If *exc* is ``NULL``, then the " | ||
"exception is cleared and the value is clipped to ``PY_SSIZE_T_MIN`` for a " | ||
"negative integer or ``PY_SSIZE_T_MAX`` for a positive integer." | ||
msgstr "" | ||
"Si *o* se puede convertir a un entero Python (*int*) pero el intento de " | ||
"convertir a un valor ``Py_ssize_t`` lanzaría un :exc:`OverflowError`, " | ||
"entonces el argumento *exc* es el tipo de excepción que se lanzará " | ||
"(generalmente :exc:`IndexError` o :exc:`OverflowError`). Si *exc* es " | ||
"``NULL``, la excepción se borra y el valor se recorta a ``PY_SSIZE_T_MIN`` " | ||
"para un entero negativo o ``PY_SSIZE_T_MAX`` para un entero positivo." | ||
msgid "" | ||
"If *o* can be converted to a Python int but the attempt to convert to " | ||
"a :c:type:`Py_ssize_t` value would raise an :exc:`OverflowError`, then the " | ||
"*exc* argument is the type of exception that will be raised " | ||
"(usually :exc:`IndexError` or :exc:`OverflowError`). If *exc* is ``NULL``, " | ||
"then the exception is cleared and the value is clipped to ``PY_SSIZE_T_MIN`` " | ||
"for a negative integer or ``PY_SSIZE_T_MAX`` for a positive integer." | ||
msgstr "" | ||
"Si *o* puede convertirse a un entero de Python pero el intento de " | ||
"convertirlo a un valor :c:type:`Py_ssize_t` lanzaría " | ||
"un :exc:`OverflowError`, entonces el argumento *exc* es el tipo de excepción " | ||
"que se lanzará (normalmente :exc:`IndexError` o :exc:`OverflowError`). Si " | ||
"*exc* es ``NULL``, la excepción se borra y el valor se recorta a " | ||
"``PY_SSIZE_T_MIN`` para un entero negativo o a ``PY_SSIZE_T_MAX`` para un " | ||
"entero positivo." | ||
|
||
#: ../Doc/c-api/number.rst:289 | ||
#, fuzzy | ||
msgid "" | ||
"Returns ``1`` if *o* is an index integer (has the ``nb_index`` slot of the " | ||
"``tp_as_number`` structure filled in), and ``0`` otherwise. This function " | ||
"always succeeds." | ||
msgstr "" | ||
"Retorna ``1`` si *o* es un entero índice (tiene el espacio ``nb_index`` de " | ||
"la estructura ``tp_as_number`` rellenado) y ``0`` en caso contrario. Esta " | ||
"función siempre tiene éxito." | ||
"Devuelve ``1`` si *o* es un entero índice (tiene la ranura ``nb_index`` de " | ||
"la estructura ``tp_as_number`` rellenada), y ``0`` en caso contrario. Esta " | ||
"función siempre finaliza con éxito." | ||
|
||
#: ../Doc/c-api/number.rst:67 ../Doc/c-api/number.rst:75 | ||
#: ../Doc/c-api/number.rst:97 ../Doc/c-api/number.rst:195 | ||
#: ../Doc/c-api/number.rst:241 ../Doc/c-api/number.rst:249 | ||
msgid "built-in function" | ||
msgstr "" | ||
msgstr "función incorporada" | ||
srmorita marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
#: ../Doc/c-api/number.rst:67 | ||
msgid "divmod" | ||
msgstr "" | ||
msgstr "divmod" | ||
|
||
#: ../Doc/c-api/number.rst:75 ../Doc/c-api/number.rst:195 | ||
msgid "pow" | ||
msgstr "" | ||
msgstr "pow" | ||
|
||
#: ../Doc/c-api/number.rst:97 | ||
msgid "abs" | ||
msgstr "" | ||
msgstr "abs" | ||
|
||
#: ../Doc/c-api/number.rst:241 | ||
msgid "int" | ||
msgstr "" | ||
msgstr "int" | ||
|
||
#: ../Doc/c-api/number.rst:249 | ||
msgid "float" | ||
msgstr "" | ||
msgstr "float" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.