Skip to content

Traducido archivo library/bisect #2367

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 2 commits into from
Apr 3, 2023
Merged
Changes from all commits
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
35 changes: 23 additions & 12 deletions library/bisect.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
"PO-Revision-Date: 2020-07-22 13:24-0300\n"
"PO-Revision-Date: 2023-04-03 15:39-0600\n"
"Last-Translator: \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.10.3\n"
"X-Generator: Poedit 3.2.2\n"

#: ../Doc/library/bisect.rst:2
msgid ":mod:`bisect` --- Array bisection algorithm"
Expand Down Expand Up @@ -84,12 +85,17 @@ msgid ""
"extract a comparison key from each element in the array. To support "
"searching complex records, the key function is not applied to the *x* value."
msgstr ""
"*key* especifica una :term:`función clave` de un argumento que es usada para "
"extraer una clave de comparación de cada elemento en el arreglo. La función "
"clave no se aplica a *x* para facilitar la búsqueda de registros complejos."

#: ../Doc/library/bisect.rst:41 ../Doc/library/bisect.rst:62
msgid ""
"If *key* is ``None``, the elements are compared directly with no intervening "
"function call."
msgstr ""
"Si *key* es ``None``, los elementos son comparados directamente sin "
"intervención de una función."

#: ../Doc/library/bisect.rst:44 ../Doc/library/bisect.rst:65
#: ../Doc/library/bisect.rst:83 ../Doc/library/bisect.rst:103
Expand Down Expand Up @@ -133,6 +139,9 @@ msgid ""
"To support inserting records in a table, the *key* function (if any) is "
"applied to *x* for the search step but not for the insertion step."
msgstr ""
"Para mantener la inserción de registros en una tabla, la función *key* (en "
"caso de existir) se aplica a *x* en el paso de búsqueda pero no en el paso "
"de inserción."

#: ../Doc/library/bisect.rst:80 ../Doc/library/bisect.rst:100
msgid ""
Expand Down Expand Up @@ -208,15 +217,14 @@ msgstr ""
"sección de ejemplos a continuación)."

#: ../Doc/library/bisect.rst:129
#, fuzzy
msgid ""
"`Sorted Collections <https://grantjenks.com/docs/sortedcollections/>`_ is a "
"high performance module that uses *bisect* to managed sorted collections of "
"data."
msgstr ""
"`Sorted Collections <http://www.grantjenks.com/docs/sortedcollections/>`_ es "
"un módulo de alto rendimiento que utiliza *bisect* para gestionar "
"colecciones de datos ordenadas."
"`Sorted Collections <https://grantjenks.com/docs/sortedcollections/>`_ es un "
"módulo de alto rendimiento que utiliza *bisect* para gestionar colecciones "
"de datos ordenadas."

#: ../Doc/library/bisect.rst:133
msgid ""
Expand All @@ -229,8 +237,8 @@ msgstr ""
"El `SortedCollection recipe <https://code.activestate.com/recipes/577197-"
"sortedcollection/>`_ usa bisect para construir una clase de colección con "
"todas las funciones con métodos de búsqueda sencillos y soporte para una "
"función clave. Las teclas se calculan previamente para ahorrar llamadas "
"innecesarias a la función de la tecla durante las búsquedas."
"función clave. Las claves se calculan previamente para ahorrar llamadas "
"innecesarias a la función clave durante las búsquedas."

#: ../Doc/library/bisect.rst:141
msgid "Searching Sorted Lists"
Expand Down Expand Up @@ -270,15 +278,18 @@ msgid ""
"tuples. The *key* argument can serve to extract the field used for ordering "
"records in a table::"
msgstr ""
"Las funciones :func:`bisect` e :func:`insort` también funcionan con listas "
"de tuplas. El argumento *key* puede usarse para extraer el campo usado para "
"ordenar registros en una tabla::"

#: ../Doc/library/bisect.rst:235
#, fuzzy
msgid ""
"If the key function is expensive, it is possible to avoid repeated function "
"calls by searching a list of precomputed keys to find the index of a record::"
msgstr ""
"Una técnica para evitar llamadas repetidas a una función de tecla es buscar "
"en una lista de teclas precalculadas para encontrar el índice de un registro:"
"Para evitar llamadas repetidas a la función clave, cuando ésta usa muchos "
"recursos, se puede buscar en una lista de claves previamente calculadas para "
"encontrar el índice de un registro::"

#~ msgid ""
#~ "*key* specifies a :term:`key function` of one argument that is used to "
Expand Down