1
1
# Copyright (C) 2001-2020, Python Software Foundation
2
2
# 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.
4
4
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5
5
# Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
6
6
#
7
- #, fuzzy
8
7
msgid ""
9
8
msgstr ""
10
9
"Project-Id-Version : Python 3.8\n "
11
10
"Report-Msgid-Bugs-To : \n "
12
11
"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 "
16
13
"MIME-Version : 1.0\n "
17
14
"Content-Type : text/plain; charset=UTF-8\n "
18
15
"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 "
19
21
20
22
#: ../Doc/library/copyreg.rst:2
21
23
msgid ":mod:`copyreg` --- Register :mod:`pickle` support functions"
22
- msgstr ""
24
+ msgstr ":mod:`copyreg` --- Registrar funciones de soporte de :mod:`pickle` "
23
25
24
26
#: ../Doc/library/copyreg.rst:7
25
27
msgid "**Source code:** :source:`Lib/copyreg.py`"
26
- msgstr ""
28
+ msgstr "**Código fuente:** :source:`Lib/copyreg.py` "
27
29
28
30
#: ../Doc/library/copyreg.rst:15
29
31
msgid ""
@@ -33,19 +35,32 @@ msgid ""
33
35
"configuration information about object constructors which are not classes. "
34
36
"Such constructors may be factory functions or class instances."
35
37
msgstr ""
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."
36
45
37
46
#: ../Doc/library/copyreg.rst:24
38
47
msgid ""
39
48
"Declares *object* to be a valid constructor. If *object* is not callable "
40
49
"(and hence not valid as a constructor), raises :exc:`TypeError`."
41
50
msgstr ""
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`."
42
54
43
55
#: ../Doc/library/copyreg.rst:30
44
56
msgid ""
45
57
"Declares that *function* should be used as a \" reduction\" function for "
46
58
"objects of type *type*. *function* should return either a string or a tuple "
47
59
"containing two or three elements."
48
60
msgstr ""
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."
49
64
50
65
#: ../Doc/library/copyreg.rst:34
51
66
msgid ""
@@ -54,6 +69,11 @@ msgid ""
54
69
"arguments returned by *function* at pickling time. :exc:`TypeError` will be "
55
70
"raised if *object* is a class or *constructor* is not callable."
56
71
msgstr ""
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."
57
77
58
78
#: ../Doc/library/copyreg.rst:39
59
79
msgid ""
@@ -62,13 +82,19 @@ msgid ""
62
82
"dispatch_table` attribute of a pickler object or subclass of :class:`pickle."
63
83
"Pickler` can also be used for declaring reduction functions."
64
84
msgstr ""
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."
65
89
66
90
#: ../Doc/library/copyreg.rst:46
67
91
msgid "Example"
68
- msgstr ""
92
+ msgstr "Ejemplo "
69
93
70
94
#: ../Doc/library/copyreg.rst:48
71
95
msgid ""
72
96
"The example below would like to show how to register a pickle function and "
73
97
"how it will be used:"
74
98
msgstr ""
99
+ "El siguiente ejemplo pretende mostrar cómo registrar una función pickle y "
100
+ "cómo se utilizará:"
0 commit comments