diff --git a/dict b/dict index 65890e2d32..f950e649d0 100644 --- a/dict +++ b/dict @@ -4,6 +4,8 @@ Associates Autocompletado Awk B +b +Built C Circus Cookbook diff --git a/library/functions.po b/library/functions.po index 6c763d9e75..8a01d71df6 100644 --- a/library/functions.po +++ b/library/functions.po @@ -6,217 +6,221 @@ # Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to # get the list of volunteers # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: python-doc-es\n" +"POT-Creation-Date: 2020-05-07 14:37+0200\n" +"PO-Revision-Date: 2020-05-07 21:30+0200\n" +"Last-Translator: \n" +"Language: es\n" +"Language-Team: python-doc-esMIME-Version: 1.0\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.8.0\n" +"X-Generator: Poedit 2.3\n" #: ../Doc/library/functions.rst:5 ../Doc/library/functions.rst:11 msgid "Built-in Functions" -msgstr "" +msgstr "Funciones Built-in" #: ../Doc/library/functions.rst:7 msgid "" "The Python interpreter has a number of functions and types built into it " "that are always available. They are listed here in alphabetical order." msgstr "" +"El intérprete de Python tiene una serie de funciones y tipos incluidos en él " +"que están siempre disponibles. Están listados aquí en orden alfabético." #: ../Doc/library/functions.rst:13 msgid ":func:`abs`" -msgstr "" +msgstr ":func:`abs`" #: ../Doc/library/functions.rst:13 msgid ":func:`delattr`" -msgstr "" +msgstr ":func:`delattr`" #: ../Doc/library/functions.rst:13 msgid ":func:`hash`" -msgstr "" +msgstr ":func:`hash`" #: ../Doc/library/functions.rst:13 msgid "|func-memoryview|_" -msgstr "" +msgstr "|func-memoryview|_" #: ../Doc/library/functions.rst:13 msgid "|func-set|_" -msgstr "" +msgstr "|func-set|_" #: ../Doc/library/functions.rst:14 msgid ":func:`all`" -msgstr "" +msgstr ":func:`all`" #: ../Doc/library/functions.rst:14 msgid "|func-dict|_" -msgstr "" +msgstr "|func-dict|_" #: ../Doc/library/functions.rst:14 msgid ":func:`help`" -msgstr "" +msgstr ":func:`help`" #: ../Doc/library/functions.rst:14 msgid ":func:`min`" -msgstr "" +msgstr ":func:`min`" #: ../Doc/library/functions.rst:14 msgid ":func:`setattr`" -msgstr "" +msgstr ":func:`setattr`" #: ../Doc/library/functions.rst:15 msgid ":func:`any`" -msgstr "" +msgstr ":func:`any`" #: ../Doc/library/functions.rst:15 msgid ":func:`dir`" -msgstr "" +msgstr ":func:`any`" #: ../Doc/library/functions.rst:15 msgid ":func:`hex`" -msgstr "" +msgstr ":func:`hex`" #: ../Doc/library/functions.rst:15 msgid ":func:`next`" -msgstr "" +msgstr ":func:`next`" #: ../Doc/library/functions.rst:15 msgid ":func:`slice`" -msgstr "" +msgstr ":func:`slice`" #: ../Doc/library/functions.rst:16 msgid ":func:`ascii`" -msgstr "" +msgstr ":func:`ascii`" #: ../Doc/library/functions.rst:16 msgid ":func:`divmod`" -msgstr "" +msgstr ":func:`divmod`" #: ../Doc/library/functions.rst:16 msgid ":func:`id`" -msgstr "" +msgstr ":func:`id`" #: ../Doc/library/functions.rst:16 msgid ":func:`object`" -msgstr "" +msgstr ":func:`object`" #: ../Doc/library/functions.rst:16 msgid ":func:`sorted`" -msgstr "" +msgstr ":func:`sorted`" #: ../Doc/library/functions.rst:17 msgid ":func:`bin`" -msgstr "" +msgstr ":func:`bin`" #: ../Doc/library/functions.rst:17 msgid ":func:`enumerate`" -msgstr "" +msgstr ":func:`enumerate`" #: ../Doc/library/functions.rst:17 msgid ":func:`input`" -msgstr "" +msgstr ":func:`input`" #: ../Doc/library/functions.rst:17 msgid ":func:`oct`" -msgstr "" +msgstr ":func:`oct`" #: ../Doc/library/functions.rst:17 msgid ":func:`staticmethod`" -msgstr "" +msgstr ":func:`staticmethod`" #: ../Doc/library/functions.rst:18 msgid ":func:`bool`" -msgstr "" +msgstr ":func:`bool`" #: ../Doc/library/functions.rst:18 msgid ":func:`eval`" -msgstr "" +msgstr ":func:`eval`" #: ../Doc/library/functions.rst:18 msgid ":func:`int`" -msgstr "" +msgstr ":func:`int`" #: ../Doc/library/functions.rst:18 msgid ":func:`open`" -msgstr "" +msgstr ":func:`open`" #: ../Doc/library/functions.rst:18 msgid "|func-str|_" -msgstr "" +msgstr "|func-str|_" #: ../Doc/library/functions.rst:19 msgid ":func:`breakpoint`" -msgstr "" +msgstr ":func:`breakpoint`" #: ../Doc/library/functions.rst:19 msgid ":func:`exec`" -msgstr "" +msgstr ":func:`exec`" #: ../Doc/library/functions.rst:19 msgid ":func:`isinstance`" -msgstr "" +msgstr ":func:`isinstance`" #: ../Doc/library/functions.rst:19 msgid ":func:`ord`" -msgstr "" +msgstr ":func:`ord`" #: ../Doc/library/functions.rst:19 msgid ":func:`sum`" -msgstr "" +msgstr ":func:`sum`" #: ../Doc/library/functions.rst:20 msgid "|func-bytearray|_" -msgstr "" +msgstr "|func-bytearray|_" #: ../Doc/library/functions.rst:20 msgid ":func:`filter`" -msgstr "" +msgstr ":func:`filter`" #: ../Doc/library/functions.rst:20 msgid ":func:`issubclass`" -msgstr "" +msgstr ":func:`issubclass`" #: ../Doc/library/functions.rst:20 msgid ":func:`pow`" -msgstr "" +msgstr ":func:`pow`" #: ../Doc/library/functions.rst:20 msgid ":func:`super`" -msgstr "" +msgstr ":func:`super`" #: ../Doc/library/functions.rst:21 msgid "|func-bytes|_" -msgstr "" +msgstr "|func-bytes|_" #: ../Doc/library/functions.rst:21 msgid ":func:`float`" -msgstr "" +msgstr ":func:`float`" #: ../Doc/library/functions.rst:21 msgid ":func:`iter`" -msgstr "" +msgstr ":func:`iter`" #: ../Doc/library/functions.rst:21 msgid ":func:`print`" -msgstr "" +msgstr ":func:`print`" #: ../Doc/library/functions.rst:21 msgid "|func-tuple|_" -msgstr "" +msgstr "|func-tuple|_" #: ../Doc/library/functions.rst:22 msgid ":func:`callable`" -msgstr "" +msgstr ":func:`callable`" #: ../Doc/library/functions.rst:22 msgid ":func:`format`" -msgstr "" +msgstr ":func:`format`" #: ../Doc/library/functions.rst:22 msgid ":func:`len`" @@ -313,18 +317,26 @@ msgid "" "is returned. If *x* defines :meth:`__abs__`, ``abs(x)`` returns ``x." "__abs__()``." msgstr "" +"Devuelve el valor absoluto de un número. El argumento puede ser un número " +"entero o de punto flotante. Si el argumento es un número complejo, devuelve " +"su magnitud. Si *x* define un método :meth:`__abs__`, ``abs(x)`` devuelve " +"``x.__abs__()``." #: ../Doc/library/functions.rst:53 msgid "" "Return ``True`` if all elements of the *iterable* are true (or if the " "iterable is empty). Equivalent to::" msgstr "" +"Devuelve ``True`` si todos los elementos del *iterable* son verdaderos (o " +"si el iterable está vacío). Equivalente a::" #: ../Doc/library/functions.rst:65 msgid "" "Return ``True`` if any element of the *iterable* is true. If the iterable " "is empty, return ``False``. Equivalent to::" msgstr "" +"Devuelve ``True`` si un elemento cualquiera del *iterable* es verdadero. Si " +"el iterable está vacío, devuelve ``False``. Equivalente a::" #: ../Doc/library/functions.rst:77 msgid "" @@ -333,6 +345,10 @@ msgid "" "`repr` using ``\\x``, ``\\u`` or ``\\U`` escapes. This generates a string " "similar to that returned by :func:`repr` in Python 2." msgstr "" +"Como :func:`repr`, devuelve una cadena que contiene una representación " +"imprimible de un objeto, pero que escapa los caracteres no-ASCII que :func:" +"`repr` devuelve usando ``\\x``, ``\\u`` or ``\\U``. Esto genera una cadena " +"similar a la devuelta por :func:`repr` en Python 2." #: ../Doc/library/functions.rst:85 msgid "" @@ -341,16 +357,22 @@ msgid "" "object, it has to define an :meth:`__index__` method that returns an " "integer. Some examples:" msgstr "" +"Convierte un número entero a una cadena binaria con prefijo \"0b\". El " +"resultado es una expresión de Python válida. Si *x* no es un objeto de " +"clase :class:`int` en Python, tiene que definir un método :meth:" +"`__index__` que devuelva un entero. Algunos ejemplos:" #: ../Doc/library/functions.rst:95 msgid "" "If prefix \"0b\" is desired or not, you can use either of the following ways." msgstr "" +"Según se desee o no el prefijo \"0b\", se puede usar uno u otro de las " +"siguientes maneras." #: ../Doc/library/functions.rst:102 ../Doc/library/functions.rst:750 #: ../Doc/library/functions.rst:1030 msgid "See also :func:`format` for more information." -msgstr "" +msgstr "Véase también :func:`format` para más información." #: ../Doc/library/functions.rst:107 msgid "" @@ -361,11 +383,17 @@ msgid "" "It cannot be subclassed further. Its only instances are ``False`` and " "``True`` (see :ref:`bltin-boolean-values`)." msgstr "" +"Devuelve un booleano, es decir, o bien ``True`` o ``False``. *x* es " +"convertido usando el estándar :ref:`truth testing procedure `. Si *x* " +"es falso u omitido, devuelve ``False``; en caso contrario devuelve " +"``True``. La clase :class:`bool` es una subclase de :class:`int` (véase :" +"ref:`typesnumeric`). De ella no pueden derivarse más subclases. Sus únicas " +"instancias son ``False`` y ``True`` (véase :ref:`bltin-boolean-values`)." #: ../Doc/library/functions.rst:116 ../Doc/library/functions.rst:625 #: ../Doc/library/functions.rst:832 msgid "*x* is now a positional-only parameter." -msgstr "" +msgstr "*x* es ahora un argumento solo de posición." #: ../Doc/library/functions.rst:121 msgid "" @@ -378,6 +406,15 @@ msgid "" "other function and :func:`breakpoint` will automatically call that, allowing " "you to drop into the debugger of choice." msgstr "" +"Esta función te lleva al depurador en el sitio donde se produce la llamada. " +"Específicamente, llama a :func:`sys.breakpointhook`, pasando ``args`` y " +"``kws`` directamente. Por defecto, ``sys.breakpointhook()`` llama a :func:" +"`pdb.set_trace()` sin esperar argumentos. En este caso, es puramente una " +"función de conveniencia para evitar el importe explícito de :mod:`pdb` o " +"tener que escribir tanto código para entrar al depurador. Sin embargo, :func:" +"`sys.breakpointhook` puede ser configurado a otra función y :func:" +"`breakpoint` llamará automáticamente a esta, permitiendo entrar al depurador " +"elegido." #: ../Doc/library/functions.rst:132 msgid "" @@ -705,6 +742,8 @@ msgid "" "With an argument, attempt to return a list of valid attributes for that " "object." msgstr "" +"Sin argumentos, devuelve la lista de nombres en el ámbito local. Con un " +"argumento, intenta devolver una lista de atributos válidos para ese objeto." #: ../Doc/library/functions.rst:371 msgid "" @@ -713,6 +752,11 @@ msgid "" "custom :func:`__getattr__` or :func:`__getattribute__` function to customize " "the way :func:`dir` reports their attributes." msgstr "" +"Si el objeto tiene un método llamado :meth:`__dir__`, éste será llamado y " +"debe devolver la lista de atributos. Esto permite que los objetos que " +"implementan una función personalizada :func:`__getattr__` o :func:" +"`__getattribute__` puedan decidir la manera en la que :func:`dir` reporta " +"sus atributos." #: ../Doc/library/functions.rst:376 msgid "" @@ -722,6 +766,11 @@ msgid "" "complete, and may be inaccurate when the object has a custom :func:" "`__getattr__`." msgstr "" +"Si el objeto no provee de un método :meth:`__dir__`, la función intenta " +"obtener la información del atributo :attr:`~object.__dict__` del objeto, si " +"está definido, y de su tipo de objeto. La lista resultante no está " +"necesariamente completa, y puede ser inexacta cuando el objeto tiene una " +"función :func:`__getattr__` implementada." #: ../Doc/library/functions.rst:381 msgid ""