diff --git a/library/copyreg.po b/library/copyreg.po index 962bd9aad4..cdb2f0c99c 100644 --- a/library/copyreg.po +++ b/library/copyreg.po @@ -1,29 +1,31 @@ # 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/python/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: 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\n" +"PO-Revision-Date: 2020-11-02 23:07-0500\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" +"Last-Translator: \n" +"Language-Team: \n" +"Language: es\n" +"X-Generator: Poedit 2.3\n" #: ../Doc/library/copyreg.rst:2 msgid ":mod:`copyreg` --- Register :mod:`pickle` support functions" -msgstr "" +msgstr ":mod:`copyreg` --- Registrar funciones de soporte de :mod:`pickle`" #: ../Doc/library/copyreg.rst:7 msgid "**Source code:** :source:`Lib/copyreg.py`" -msgstr "" +msgstr "**Código fuente:** :source:`Lib/copyreg.py`" #: ../Doc/library/copyreg.rst:15 msgid "" @@ -33,12 +35,22 @@ msgid "" "configuration information about object constructors which are not classes. " "Such constructors may be factory functions or class instances." msgstr "" +"El módulo :mod:`copyreg` ofrece una manera de definir funciones usada cuando " +"se serializan (*pickling*) objectos específicos.Los módulos :mod:`pickle` y :" +"mod:`copy` utilizan estas funciones cuando se realizan acciones de " +"serializado/copiado en esos objetos. El módulo provee información de " +"configuración acerca de los objetos constructores, los cuales no son clases. " +"Estos objetos constructores pueden ser funciones de fábrica o instancias de " +"clase." #: ../Doc/library/copyreg.rst:24 msgid "" "Declares *object* to be a valid constructor. If *object* is not callable " "(and hence not valid as a constructor), raises :exc:`TypeError`." msgstr "" +"Declara que el *object* debe ser un constructor válido. Si el *object* no es " +"invocable (y por lo tanto, no es válido como constructor), lanza una " +"excepción :exc:`TypeError`." #: ../Doc/library/copyreg.rst:30 msgid "" @@ -46,6 +58,9 @@ msgid "" "objects of type *type*. *function* should return either a string or a tuple " "containing two or three elements." msgstr "" +"Declara que la *function* deber ser usada como una función de \"reducción\" " +"para objetos de tipo *type*. La *function* debe retornar ya sea una cadena " +"de caracteres o una tupla que contenga dos o tres elementos." #: ../Doc/library/copyreg.rst:34 msgid "" @@ -54,6 +69,11 @@ msgid "" "arguments returned by *function* at pickling time. :exc:`TypeError` will be " "raised if *object* is a class or *constructor* is not callable." msgstr "" +"El parámetro opcional *constructor*, si se proporciona, es un objeto " +"invocable el cual, que puede ser usado para reconstruir el objeto cuando se " +"llama con la tupla de argumentos retornados por la *function* en el momento " +"de pickling. La excepción :exc:`TypeError` se lanzará si el *objeto* es " +"una clase o si el *constructor* no es invocable." #: ../Doc/library/copyreg.rst:39 msgid "" @@ -62,13 +82,19 @@ msgid "" "dispatch_table` attribute of a pickler object or subclass of :class:`pickle." "Pickler` can also be used for declaring reduction functions." msgstr "" +"Consulte el módulo :mod:`pickle` para más detalles sobre la interfaz " +"esperada de *function* y *constructor*. Note que el atributo :attr:`~pickle." +"Pickler.dispatch_table` de un objeto pickler o subclase de :class:`pickle." +"Pickler` puede también ser utilizado para declarar funciones de reducción." #: ../Doc/library/copyreg.rst:46 msgid "Example" -msgstr "" +msgstr "Ejemplo" #: ../Doc/library/copyreg.rst:48 msgid "" "The example below would like to show how to register a pickle function and " "how it will be used:" msgstr "" +"El siguiente ejemplo pretende mostrar cómo registrar una función pickle y " +"cómo se utilizará:"