-
-
Notifications
You must be signed in to change notification settings - Fork 405
Expand file tree
/
Copy pathcopyreg.po
More file actions
111 lines (99 loc) · 4.19 KB
/
copyreg.po
File metadata and controls
111 lines (99 loc) · 4.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# 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.
# 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
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-12 19:43+0200\n"
"PO-Revision-Date: 2022-11-20 20:53+0100\n"
"Last-Translator: Carlos AlMA <carlos@>\n"
"Language: es\n"
"Language-Team: \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.13.0\n"
#: ../Doc/library/copyreg.rst:2
msgid ":mod:`copyreg` --- Register :mod:`pickle` support functions"
msgstr ":mod:`copyreg` --- Registrar funciones de soporte de :mod:`pickle`"
#: ../Doc/library/copyreg.rst:7
msgid "**Source code:** :source:`Lib/copyreg.py`"
msgstr "**Código fuente:** :source:`Lib/copyreg.py`"
#: ../Doc/library/copyreg.rst:15
msgid ""
"The :mod:`copyreg` module offers a way to define functions used while "
"pickling specific objects. The :mod:`pickle` and :mod:`copy` modules use "
"those functions when pickling/copying those objects. The module provides "
"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 las funciones usadas "
"cuando se serializan (*pickling*) objetos 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-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* es 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
#, fuzzy
msgid ""
"Declares that *function* should be used as a \"reduction\" function for "
"objects of type *type*. *function* must return either a string or a tuple "
"containing between two and six elements. See the :attr:`~pickle.Pickler."
"dispatch_table` for more details on the interface of *function*."
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. Consulte :attr:"
"`~pickle.Pickler.dispatch_table` para obtener más detalles sobre la interfaz "
"de *función*."
#: ../Doc/library/copyreg.rst:35
msgid ""
"The *constructor_ob* parameter is a legacy feature and is now ignored, but "
"if passed it must be a callable."
msgstr ""
"El parámetro *constructor_ob* es una característica heredada y ahora se "
"ignora, pero si se pasa debe ser invocable."
#: ../Doc/library/copyreg.rst:38
msgid ""
"Note that the :attr:`~pickle.Pickler.dispatch_table` attribute of a pickler "
"object or subclass of :class:`pickle.Pickler` can also be used for declaring "
"reduction functions."
msgstr ""
"Note que el atributo :attr:`~pickle.Pickler.dispatch_table` de un objeto "
"pickler o subclase de :class:`pickle.Pickler` también puede ser utilizado "
"para declarar funciones de reducción."
#: ../Doc/library/copyreg.rst:43
msgid "Example"
msgstr "Ejemplo"
#: ../Doc/library/copyreg.rst:45
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á:"
#: ../Doc/library/copyreg.rst:9
msgid "module"
msgstr ""
#: ../Doc/library/copyreg.rst:9
msgid "pickle"
msgstr ""
#: ../Doc/library/copyreg.rst:9
msgid "copy"
msgstr ""