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/PyCampES/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 "
12
+ "PO-Revision-Date : 2020-05-25 17:45-0500\n "
15
13
"Language-Team : python-doc-es\n "
16
14
"MIME-Version : 1.0\n "
17
15
"Content-Type : text/plain; charset=UTF-8\n "
18
16
"Content-Transfer-Encoding : 8bit\n "
17
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
18
+ "Last-Translator : Cristian Danilo Rengifo Parra <ingcrengifo@gmail.com>\n "
19
+ "Language : es_CO\n "
20
+ "X-Generator : Poedit 2.3\n "
19
21
20
22
#: ../Doc/library/copy.rst:2
21
23
msgid ":mod:`copy` --- Shallow and deep copy operations"
22
- msgstr ""
24
+ msgstr ":mod:`copy` --- Operaciones de copia superficial y profunda "
23
25
24
26
#: ../Doc/library/copy.rst:7
25
27
msgid "**Source code:** :source:`Lib/copy.py`"
26
- msgstr ""
28
+ msgstr "**Source code:** :source:`Lib/copy.py` "
27
29
28
30
#: ../Doc/library/copy.rst:11
29
31
msgid ""
@@ -33,75 +35,100 @@ msgid ""
33
35
"changing the other. This module provides generic shallow and deep copy "
34
36
"operations (explained below)."
35
37
msgstr ""
38
+ "Las declaraciones de asignación en Python no copian objetos, crean enlaces "
39
+ "entre un objetivo y un objeto. Para colecciones que son mutables o que "
40
+ "contienen elementos mutables, a veces se necesita una copia para que uno "
41
+ "pueda cambiar una copia sin cambiar la otra. Este módulo proporciona "
42
+ "operaciones genéricas de copia superficial y profunda (explicadas a "
43
+ "continuación)."
36
44
37
45
#: ../Doc/library/copy.rst:18
38
46
msgid "Interface summary:"
39
- msgstr ""
47
+ msgstr "Resumen de la interfaz: "
40
48
41
49
#: ../Doc/library/copy.rst:22
42
50
msgid "Return a shallow copy of *x*."
43
- msgstr ""
51
+ msgstr "Devuelve una copia superficial de *x*. "
44
52
45
53
#: ../Doc/library/copy.rst:27
46
54
msgid "Return a deep copy of *x*."
47
- msgstr ""
55
+ msgstr "Devuelve una copia profunda de *x*. "
48
56
49
57
#: ../Doc/library/copy.rst:32
50
58
msgid "Raised for module specific errors."
51
- msgstr ""
59
+ msgstr "Levantado para errores específicos del módulo. "
52
60
53
61
#: ../Doc/library/copy.rst:35
54
62
msgid ""
55
63
"The difference between shallow and deep copying is only relevant for "
56
64
"compound objects (objects that contain other objects, like lists or class "
57
65
"instances):"
58
66
msgstr ""
67
+ "La diferencia entre copia superficial y profunda solo es relevante para "
68
+ "objetos compuestos (objetos que contienen otros objetos, como listas o "
69
+ "instancias de clase):"
59
70
60
71
#: ../Doc/library/copy.rst:38
61
72
msgid ""
62
73
"A *shallow copy* constructs a new compound object and then (to the extent "
63
74
"possible) inserts *references* into it to the objects found in the original."
64
75
msgstr ""
76
+ "Una copia superficial (*shallow copy*) construye un nuevo objeto compuesto y "
77
+ "luego (en la medida de lo posible) inserta *references* en él a los objetos "
78
+ "encontrados en el original."
65
79
66
80
#: ../Doc/library/copy.rst:41
67
81
msgid ""
68
82
"A *deep copy* constructs a new compound object and then, recursively, "
69
83
"inserts *copies* into it of the objects found in the original."
70
84
msgstr ""
85
+ "Una copia profunda (*deep copy*) construye un nuevo objeto compuesto y "
86
+ "luego, recursivamente, inserta *copias* en él de los objetos encontrados en "
87
+ "el original."
71
88
72
89
#: ../Doc/library/copy.rst:44
73
90
msgid ""
74
91
"Two problems often exist with deep copy operations that don't exist with "
75
92
"shallow copy operations:"
76
93
msgstr ""
94
+ "A menudo existen dos problemas con las operaciones de copia profunda que no "
95
+ "existen con las operaciones de copia superficial:"
77
96
78
97
#: ../Doc/library/copy.rst:47
79
98
msgid ""
80
99
"Recursive objects (compound objects that, directly or indirectly, contain a "
81
100
"reference to themselves) may cause a recursive loop."
82
101
msgstr ""
102
+ "Los objetos recursivos (objetos compuestos que, directa o indirectamente, "
103
+ "contienen una referencia a sí mismos) pueden causar un bucle recursivo."
83
104
84
105
#: ../Doc/library/copy.rst:50
85
106
msgid ""
86
107
"Because deep copy copies everything it may copy too much, such as data which "
87
108
"is intended to be shared between copies."
88
109
msgstr ""
110
+ "Debido a que la copia profunda copia todo, puede copiar demasiado, como los "
111
+ "datos que deben compartirse entre copias."
89
112
90
113
#: ../Doc/library/copy.rst:53
91
114
msgid "The :func:`deepcopy` function avoids these problems by:"
92
- msgstr ""
115
+ msgstr "La función :func:`deepcopy` evita estos problemas al: "
93
116
94
117
#: ../Doc/library/copy.rst:55
95
118
msgid ""
96
119
"keeping a ``memo`` dictionary of objects already copied during the current "
97
120
"copying pass; and"
98
121
msgstr ""
122
+ "mantener un diccionario ``memo`` de objetos ya copiados durante la pasada de "
123
+ "copia actual; y"
99
124
100
125
#: ../Doc/library/copy.rst:58
101
126
msgid ""
102
127
"letting user-defined classes override the copying operation or the set of "
103
128
"components copied."
104
129
msgstr ""
130
+ "dejando que las clases definidas por el usuario anulen la operación de copia "
131
+ "o el conjunto de componentes copiados."
105
132
106
133
#: ../Doc/library/copy.rst:61
107
134
msgid ""
@@ -111,13 +138,21 @@ msgid ""
111
138
"unchanged; this is compatible with the way these are treated by the :mod:"
112
139
"`pickle` module."
113
140
msgstr ""
141
+ "Este módulo no copia tipos como módulo, método, seguimiento de pila, marco "
142
+ "de pila, archivo, socket, ventana, matriz ni ningún tipo similar. \" Copia\" "
143
+ "funciones y clases (superficiales y profundas), devolviendo el objeto "
144
+ "original sin cambios; Esto es compatible con la forma en que son tratados "
145
+ "por el módulo :mod:`pickle`."
114
146
115
147
#: ../Doc/library/copy.rst:66
116
148
msgid ""
117
149
"Shallow copies of dictionaries can be made using :meth:`dict.copy`, and of "
118
150
"lists by assigning a slice of the entire list, for example, ``copied_list = "
119
151
"original_list[:]``."
120
152
msgstr ""
153
+ "Se pueden hacer copias superficiales de los diccionarios usando :meth:`dict."
154
+ "copy`, y de las listas mediante la asignación de una porción de la lista "
155
+ "completa, por ejemplo, ``copied_list = original_list[:]``."
121
156
122
157
#: ../Doc/library/copy.rst:72
123
158
msgid ""
@@ -126,6 +161,11 @@ msgid ""
126
161
"information on these methods. In fact, the :mod:`copy` module uses the "
127
162
"registered pickle functions from the :mod:`copyreg` module."
128
163
msgstr ""
164
+ "Las clases pueden usar las mismas interfaces para controlar la copia que "
165
+ "usan para controlar el *pickling*. Consulte la descripción del módulo :mod:"
166
+ "`pickle` para obtener información sobre estos métodos. De hecho, el módulo :"
167
+ "mod:`copy` utiliza las funciones de *pickle* registradas del módulo :mod:"
168
+ "`copyreg`."
129
169
130
170
#: ../Doc/library/copy.rst:81
131
171
msgid ""
@@ -138,13 +178,23 @@ msgid ""
138
178
"func:`deepcopy` function with the component as first argument and the memo "
139
179
"dictionary as second argument."
140
180
msgstr ""
181
+ "Para que una clase defina su propia implementación de copia, puede definir "
182
+ "métodos especiales :meth:`__copy__` y :meth:`__deepcopy__`. El primero se "
183
+ "llama para implementar la operación de copia superficial; no se pasan "
184
+ "argumentos adicionales. Este último está llamado a implementar la operación "
185
+ "de copia profunda; se pasa un argumento, el diccionario ``memo``. Si la "
186
+ "implementación :meth:`__deepcopy__` necesita hacer una copia profunda de un "
187
+ "componente, debe llamar a la función :func:`deepcopy` con el componente como "
188
+ "primer argumento y el diccionario memo como segundo argumento."
141
189
142
190
#: ../Doc/library/copy.rst:93
143
191
msgid "Module :mod:`pickle`"
144
- msgstr ""
192
+ msgstr "Módulo :mod:`pickle` "
145
193
146
194
#: ../Doc/library/copy.rst:93
147
195
msgid ""
148
196
"Discussion of the special methods used to support object state retrieval and "
149
197
"restoration."
150
198
msgstr ""
199
+ "Discusión de los métodos especiales utilizados para apoyar la recuperación y "
200
+ "restauración del estado del objeto."
0 commit comments