-
-
Notifications
You must be signed in to change notification settings - Fork 403
Expand file tree
/
Copy pathcopyreg.po
More file actions
109 lines (99 loc) · 4.58 KB
/
copyreg.po
File metadata and controls
109 lines (99 loc) · 4.58 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
# 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: 2022-10-25 19:47+0200\n"
"PO-Revision-Date: 2020-11-02 23:07-0500\n"
"Last-Translator: \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.10.3\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 funciones usada 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 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
#, fuzzy
msgid ""
"Declares that *function* should be used as a \"reduction\" function for "
"objects of type *type*. *function* should return either a string or a tuple "
"containing two or three 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."
#: ../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 ""
#: ../Doc/library/copyreg.rst:38
#, fuzzy
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 ""
"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: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á:"
#~ msgid ""
#~ "The optional *constructor* parameter, if provided, is a callable object "
#~ "which can be used to reconstruct the object when called with the tuple of "
#~ "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."