11# Copyright (C) 2001-2020, Python Software Foundation
22# This file is distributed under the same license as the Python package.
3- # Maintained by the python-doc-es workteam.
3+ # Maintained by the python-doc-es workteam.
44# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
55# Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
66#
7- #, fuzzy
87msgid ""
98msgstr ""
109"Project-Id-Version : Python 3.8\n "
1110"Report-Msgid-Bugs-To : \n "
1211"POT-Creation-Date : 2019-05-06 11:59-0400\n "
13- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
14- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
15- "Language-Team : python-doc-es\n "
12+ "PO-Revision-Date : 2020-11-02 23:07-0500\n "
1613"MIME-Version : 1.0\n "
1714"Content-Type : text/plain; charset=UTF-8\n "
1815"Content-Transfer-Encoding : 8bit\n "
16+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
17+ "Last-Translator : \n "
18+ "Language-Team : \n "
19+ "Language : es\n "
20+ "X-Generator : Poedit 2.3\n "
1921
2022#: ../Doc/library/copyreg.rst:2
2123msgid ":mod:`copyreg` --- Register :mod:`pickle` support functions"
22- msgstr ""
24+ msgstr ":mod:`copyreg` --- Registrar funciones de soporte de :mod:`pickle` "
2325
2426#: ../Doc/library/copyreg.rst:7
2527msgid "**Source code:** :source:`Lib/copyreg.py`"
26- msgstr ""
28+ msgstr "**Código fuente:** :source:`Lib/copyreg.py` "
2729
2830#: ../Doc/library/copyreg.rst:15
2931msgid ""
@@ -33,19 +35,32 @@ msgid ""
3335"configuration information about object constructors which are not classes. "
3436"Such constructors may be factory functions or class instances."
3537msgstr ""
38+ "El módulo :mod:`copyreg` ofrece una manera de definir funciones usada cuando "
39+ "se serializan (*pickling*) objectos específicos.Los módulos :mod:`pickle` y :"
40+ "mod:`copy` utilizan estas funciones cuando se realizan acciones de "
41+ "serializado/copiado en esos objetos. El módulo provee información de "
42+ "configuración acerca de los objetos constructores, los cuales no son clases. "
43+ "Estos objetos constructores pueden ser funciones de fábrica o instancias de "
44+ "clase."
3645
3746#: ../Doc/library/copyreg.rst:24
3847msgid ""
3948"Declares *object* to be a valid constructor. If *object* is not callable "
4049"(and hence not valid as a constructor), raises :exc:`TypeError`."
4150msgstr ""
51+ "Declara que el *object* debe ser un constructor válido. Si el *object* no es "
52+ "invocable (y por lo tanto, no es válido como constructor), lanza una "
53+ "excepción :exc:`TypeError`."
4254
4355#: ../Doc/library/copyreg.rst:30
4456msgid ""
4557"Declares that *function* should be used as a \" reduction\" function for "
4658"objects of type *type*. *function* should return either a string or a tuple "
4759"containing two or three elements."
4860msgstr ""
61+ "Declara que la *function* deber ser usada como una función de \" reducción\" "
62+ "para objetos de tipo *type*. La *function* debe retornar ya sea una cadena "
63+ "de caracteres o una tupla que contenga dos o tres elementos."
4964
5065#: ../Doc/library/copyreg.rst:34
5166msgid ""
@@ -54,6 +69,11 @@ msgid ""
5469"arguments returned by *function* at pickling time. :exc:`TypeError` will be "
5570"raised if *object* is a class or *constructor* is not callable."
5671msgstr ""
72+ "El parámetro opcional *constructor*, si se proporciona, es un objeto "
73+ "invocable el cual, que puede ser usado para reconstruir el objeto cuando se "
74+ "llama con la tupla de argumentos retornados por la *function* en el momento "
75+ "de pickling. La excepción :exc:`TypeError` se lanzará si el *objeto* es "
76+ "una clase o si el *constructor* no es invocable."
5777
5878#: ../Doc/library/copyreg.rst:39
5979msgid ""
@@ -62,13 +82,19 @@ msgid ""
6282"dispatch_table` attribute of a pickler object or subclass of :class:`pickle."
6383"Pickler` can also be used for declaring reduction functions."
6484msgstr ""
85+ "Consulte el módulo :mod:`pickle` para más detalles sobre la interfaz "
86+ "esperada de *function* y *constructor*. Note que el atributo :attr:`~pickle."
87+ "Pickler.dispatch_table` de un objeto pickler o subclase de :class:`pickle."
88+ "Pickler` puede también ser utilizado para declarar funciones de reducción."
6589
6690#: ../Doc/library/copyreg.rst:46
6791msgid "Example"
68- msgstr ""
92+ msgstr "Ejemplo "
6993
7094#: ../Doc/library/copyreg.rst:48
7195msgid ""
7296"The example below would like to show how to register a pickle function and "
7397"how it will be used:"
7498msgstr ""
99+ "El siguiente ejemplo pretende mostrar cómo registrar una función pickle y "
100+ "cómo se utilizará:"
0 commit comments