-
Notifications
You must be signed in to change notification settings - Fork 397
primera de slice #3401
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
primera de slice #3401
Changes from 1 commit
Commits
Show all changes
6 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: 2021-08-16 13:05+0200\n" | ||
"PO-Revision-Date: 2025-06-25 18:06-0500\n" | ||
"Last-Translator: Cristián Maureira-Fredes <[email protected]>\n" | ||
"Language: es\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.6\n" | ||
|
||
#: ../Doc/c-api/slice.rst:6 | ||
msgid "Slice Objects" | ||
|
@@ -39,10 +40,9 @@ msgid "" | |
"function always succeeds." | ||
msgstr "" | ||
"Retorna verdadero si *ob* es un objeto rebanada; *ob* no debe ser ``NULL``. " | ||
"Esta función siempre finaliza con éxito." | ||
"Esta función siempre funciona correctamente." | ||
|
||
#: ../Doc/c-api/slice.rst:23 | ||
#, fuzzy | ||
msgid "" | ||
"Return a new slice object with the given values. The *start*, *stop*, and " | ||
"*step* parameters are used as the values of the slice object attributes of " | ||
|
@@ -52,14 +52,15 @@ msgstr "" | |
"Retorna un nuevo objeto rebanada con los valores dados. Los parámetros " | ||
"*start*, *stop* y *step* se utilizan como los valores de los atributos del " | ||
"objeto rebanada de los mismos nombres. Cualquiera de los valores puede ser " | ||
"``NULL``, en cuyo caso se usará ``None`` para el atributo correspondiente. " | ||
"Retorna ``NULL`` si no se puedo asignar el nuevo objeto." | ||
"``NULL``, en cuyo caso se usará ``None`` para el atributo correspondiente." | ||
|
||
#: ../Doc/c-api/slice.rst:28 | ||
msgid "" | ||
"Return ``NULL`` with an exception set if the new object could not be " | ||
"allocated." | ||
msgstr "" | ||
"Retorna ``NULL`` con una excepción si no se ha podido asignar el nuevo " | ||
"objeto." | ||
|
||
#: ../Doc/c-api/slice.rst:34 | ||
msgid "" | ||
|
@@ -77,10 +78,10 @@ msgid "" | |
"one of the indices was not ``None`` and failed to be converted to an " | ||
"integer, in which case ``-1`` is returned with an exception set)." | ||
msgstr "" | ||
"Retorna ``0`` en caso de éxito y ``-1`` en caso de error sin excepción " | ||
"establecida (a menos que uno de los índices no sea ``None`` y no se haya " | ||
"convertido a un entero, en cuyo caso ``- 1`` se retorna con una excepción " | ||
"establecida)." | ||
"Retorna ``0`` en caso de éxito y ``-1`` en caso de error sin un conjunto de " | ||
Sublian marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"excepciones (a menos que uno de los índices no sea ``None`` y no se haya " | ||
"convertido a un entero, en cuyo caso ``- 1`` se retorna con un conjunto de " | ||
"excepción)." | ||
|
||
#: ../Doc/c-api/slice.rst:42 | ||
msgid "You probably do not want to use this function." | ||
|
@@ -107,21 +108,20 @@ msgstr "" | |
"coherente con el manejo de sectores normales." | ||
|
||
#: ../Doc/c-api/slice.rst:57 | ||
#, fuzzy | ||
msgid "Return ``0`` on success and ``-1`` on error with an exception set." | ||
msgstr "" | ||
"Retorna ``0`` en caso de éxito y ``-1`` en caso de error con excepción " | ||
"establecida." | ||
"Retorna ``0`` en caso de éxito y ``-1`` en caso de error con un conjunto de " | ||
Sublian marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"excepciones." | ||
|
||
#: ../Doc/c-api/slice.rst:60 | ||
msgid "" | ||
"This function is considered not safe for resizable sequences. Its invocation " | ||
"should be replaced by a combination of :c:func:`PySlice_Unpack` and :c:func:" | ||
"`PySlice_AdjustIndices` where ::" | ||
"should be replaced by a combination of :c:func:`PySlice_Unpack` " | ||
"and :c:func:`PySlice_AdjustIndices` where ::" | ||
msgstr "" | ||
"Esta función se considera no segura para secuencias redimensionables. Su " | ||
"invocación debe ser reemplazada por una combinación de :c:func:" | ||
"`PySlice_Unpack` y :c:func:`PySlice_AdjustIndices` donde::" | ||
"invocación debe ser reemplazada por una combinación " | ||
"de :c:func:`PySlice_Unpack` y :c:func:`PySlice_AdjustIndices` donde::" | ||
|
||
#: ../Doc/c-api/slice.rst:64 | ||
msgid "" | ||
|
@@ -130,6 +130,10 @@ msgid "" | |
" // return error\n" | ||
"}" | ||
msgstr "" | ||
"if (PySlice_GetIndicesEx(slice, length, &start, &stop, &step, &slicelength) " | ||
Sublian marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"< 0) {\n" | ||
" // retorna un error\n" | ||
"}" | ||
|
||
#: ../Doc/c-api/slice.rst:68 | ||
msgid "is replaced by ::" | ||
|
@@ -142,6 +146,10 @@ msgid "" | |
"}\n" | ||
"slicelength = PySlice_AdjustIndices(length, &start, &stop, step);" | ||
msgstr "" | ||
"if (PySlice_Unpack(slice, &start, &stop, &step) < 0) {\n" | ||
" // retorna un error\n" | ||
"}\n" | ||
"slicelength = PySlice_AdjustIndices(length, &start, &stop, step);" | ||
|
||
#: ../Doc/c-api/slice.rst:79 | ||
msgid "" | ||
|
@@ -151,11 +159,11 @@ msgid "" | |
"PySlice_Unpack` and :c:func:`!PySlice_AdjustIndices`. Arguments *start*, " | ||
"*stop* and *step* are evaluated more than once." | ||
msgstr "" | ||
"Si ``Py_LIMITED_API`` no se establece o establece el valor entre " | ||
"Si ``Py_LIMITED_API`` no se establece o se establece el valor entre " | ||
"``0x03050400`` y ``0x03060000`` (sin incluir) o ``0x03060100`` o un " | ||
"superior :c:func:`!PySlice_GetIndicesEx` se implementa como un macro usando :" | ||
"c:func:`! PySlice_Unpack` y :c:func:`!PySlice_AdjustIndices`. Los argumentos " | ||
"*start*, *stop* y *step* se evalúan más de una vez." | ||
"superior :c:func:`!PySlice_GetIndicesEx` se implementa como un macro " | ||
"usando :c:func:`! PySlice_Unpack` y :c:func:`!PySlice_AdjustIndices`. Los " | ||
"argumentos *start*, *stop* y *step* se evalúan más de una vez." | ||
|
||
#: ../Doc/c-api/slice.rst:86 | ||
msgid "" | ||
|
@@ -183,9 +191,9 @@ msgstr "" | |
"PY_SSIZE_T_MAX``." | ||
|
||
#: ../Doc/c-api/slice.rst:100 | ||
#, fuzzy | ||
msgid "Return ``-1`` with an exception set on error, ``0`` on success." | ||
msgstr "Retorna ``-1`` en caso de error, ``0`` en caso de éxito." | ||
msgstr "" | ||
"Retorna ``-1`` con una excepción en caso de error, ``0`` en caso de éxito." | ||
Sublian marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
#: ../Doc/c-api/slice.rst:107 | ||
msgid "" | ||
|
@@ -210,14 +218,12 @@ msgid "Ellipsis Object" | |
msgstr "Objeto elipsis" | ||
|
||
#: ../Doc/c-api/slice.rst:123 | ||
#, fuzzy | ||
msgid "" | ||
"The Python ``Ellipsis`` object. This object has no methods. Like :c:data:" | ||
"`Py_None`, it is an :term:`immortal` singleton object." | ||
"The Python ``Ellipsis`` object. This object has no methods. " | ||
"Like :c:data:`Py_None`, it is an :term:`immortal` singleton object." | ||
msgstr "" | ||
"El objeto ``Elipsis`` de Python. Este objeto no tiene métodos. Al igual que :" | ||
"c:data:`Py_None`, es un objeto singleton `inmortal <https://peps.python.org/" | ||
"pep-0683/>`_." | ||
"El objeto ``Ellipsis`` de Python. Este objeto no tiene métodos. Al igual " | ||
"que :c:data:`Py_None`, es un objeto singleton :term:`immortal`." | ||
|
||
#: ../Doc/c-api/slice.rst:126 | ||
msgid ":c:data:`Py_Ellipsis` is immortal." | ||
|
Oops, something went wrong.
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.