diff --git a/library/functions.po b/library/functions.po index 1db875a50c..db0ac51fd2 100644 --- a/library/functions.po +++ b/library/functions.po @@ -1,219 +1,223 @@ # Copyright (C) 2001-2020, Python Software Foundation # This file is distributed under the same license as the Python package. -# Maintained by the python-doc-es workteam. +# Maintained by the python-doc-es workteam. # docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/ # Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-06 11:59-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es.python.org)\n" +"PO-Revision-Date: 2020-05-07 10:23+0200\n" +"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es." "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" +"Last-Translator: \n" +"Language: es\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`" @@ -309,18 +313,25 @@ msgid "" "floating point number. If the argument is a complex number, its magnitude " "is returned." 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." #: ../Doc/library/functions.rst:52 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:64 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 iteradle está vacío, devuelve ``False``. Equivalente a::" #: ../Doc/library/functions.rst:76 msgid "" @@ -329,6 +340,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:84 msgid "" @@ -337,16 +352,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:94 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:101 ../Doc/library/functions.rst:703 #: ../Doc/library/functions.rst:963 msgid "See also :func:`format` for more information." -msgstr "" +msgstr "Veáse también :func:`format` para más información." #: ../Doc/library/functions.rst:106 msgid "" @@ -357,11 +378,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:115 ../Doc/library/functions.rst:581 #: ../Doc/library/functions.rst:774 msgid "*x* is now a positional-only parameter." -msgstr "" +msgstr "*x* es ahora un argumento solo de posición." #: ../Doc/library/functions.rst:120 msgid "" @@ -374,6 +401,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:136 msgid "" @@ -654,6 +690,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:343 msgid "" @@ -662,6 +700,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:348 msgid "" @@ -671,6 +714,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 objeto type. 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:353 msgid ""