Skip to content

Commit 2aac13b

Browse files
authored
Merge pull request #365 from INGCRENGIFO/traduccion_copy.po
2 parents e2156ae + 043de0a commit 2aac13b

File tree

3 files changed

+64
-12
lines changed

3 files changed

+64
-12
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ __pycache__/
2222

2323
# Distribution / packaging
2424
venv
25+
.venv
2526
.Python
2627
env/
2728
build/

TRANSLATORS

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Claudia Millán Nebot (@clacri @cheshireminima)
1515
María José Molina Contreras (@mjmolina)
1616
María Andrea Vignau (@mavignau @marian-vignau)
1717
Marco Richetta (@marcorichetta)
18+
Cristian Rengifo (@ingrengifo)
1819
Pablo Lobariñas (@Qkolnek)
1920
Sergio Delgado Quintero (@sdelquin)
2021
Silvina Tamburini (@silvinabt87)

library/copy.po

+62-12
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
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/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
66
#
7-
#, fuzzy
87
msgid ""
98
msgstr ""
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"
12+
"PO-Revision-Date: 2020-05-25 17:45-0500\n"
1513
"Language-Team: python-doc-es\n"
1614
"MIME-Version: 1.0\n"
1715
"Content-Type: text/plain; charset=UTF-8\n"
1816
"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"
1921

2022
#: ../Doc/library/copy.rst:2
2123
msgid ":mod:`copy` --- Shallow and deep copy operations"
22-
msgstr ""
24+
msgstr ":mod:`copy` --- Operaciones de copia superficial y profunda"
2325

2426
#: ../Doc/library/copy.rst:7
2527
msgid "**Source code:** :source:`Lib/copy.py`"
26-
msgstr ""
28+
msgstr "**Source code:** :source:`Lib/copy.py`"
2729

2830
#: ../Doc/library/copy.rst:11
2931
msgid ""
@@ -33,75 +35,100 @@ msgid ""
3335
"changing the other. This module provides generic shallow and deep copy "
3436
"operations (explained below)."
3537
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)."
3644

3745
#: ../Doc/library/copy.rst:18
3846
msgid "Interface summary:"
39-
msgstr ""
47+
msgstr "Resumen de la interfaz:"
4048

4149
#: ../Doc/library/copy.rst:22
4250
msgid "Return a shallow copy of *x*."
43-
msgstr ""
51+
msgstr "Devuelve una copia superficial de *x*."
4452

4553
#: ../Doc/library/copy.rst:27
4654
msgid "Return a deep copy of *x*."
47-
msgstr ""
55+
msgstr "Devuelve una copia profunda de *x*."
4856

4957
#: ../Doc/library/copy.rst:32
5058
msgid "Raised for module specific errors."
51-
msgstr ""
59+
msgstr "Levantado para errores específicos del módulo."
5260

5361
#: ../Doc/library/copy.rst:35
5462
msgid ""
5563
"The difference between shallow and deep copying is only relevant for "
5664
"compound objects (objects that contain other objects, like lists or class "
5765
"instances):"
5866
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):"
5970

6071
#: ../Doc/library/copy.rst:38
6172
msgid ""
6273
"A *shallow copy* constructs a new compound object and then (to the extent "
6374
"possible) inserts *references* into it to the objects found in the original."
6475
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."
6579

6680
#: ../Doc/library/copy.rst:41
6781
msgid ""
6882
"A *deep copy* constructs a new compound object and then, recursively, "
6983
"inserts *copies* into it of the objects found in the original."
7084
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."
7188

7289
#: ../Doc/library/copy.rst:44
7390
msgid ""
7491
"Two problems often exist with deep copy operations that don't exist with "
7592
"shallow copy operations:"
7693
msgstr ""
94+
"A menudo existen dos problemas con las operaciones de copia profunda que no "
95+
"existen con las operaciones de copia superficial:"
7796

7897
#: ../Doc/library/copy.rst:47
7998
msgid ""
8099
"Recursive objects (compound objects that, directly or indirectly, contain a "
81100
"reference to themselves) may cause a recursive loop."
82101
msgstr ""
102+
"Los objetos recursivos (objetos compuestos que, directa o indirectamente, "
103+
"contienen una referencia a sí mismos) pueden causar un bucle recursivo."
83104

84105
#: ../Doc/library/copy.rst:50
85106
msgid ""
86107
"Because deep copy copies everything it may copy too much, such as data which "
87108
"is intended to be shared between copies."
88109
msgstr ""
110+
"Debido a que la copia profunda copia todo, puede copiar demasiado, como los "
111+
"datos que deben compartirse entre copias."
89112

90113
#: ../Doc/library/copy.rst:53
91114
msgid "The :func:`deepcopy` function avoids these problems by:"
92-
msgstr ""
115+
msgstr "La función :func:`deepcopy` evita estos problemas al:"
93116

94117
#: ../Doc/library/copy.rst:55
95118
msgid ""
96119
"keeping a ``memo`` dictionary of objects already copied during the current "
97120
"copying pass; and"
98121
msgstr ""
122+
"mantener un diccionario ``memo`` de objetos ya copiados durante la pasada de "
123+
"copia actual; y"
99124

100125
#: ../Doc/library/copy.rst:58
101126
msgid ""
102127
"letting user-defined classes override the copying operation or the set of "
103128
"components copied."
104129
msgstr ""
130+
"dejando que las clases definidas por el usuario anulen la operación de copia "
131+
"o el conjunto de componentes copiados."
105132

106133
#: ../Doc/library/copy.rst:61
107134
msgid ""
@@ -111,13 +138,21 @@ msgid ""
111138
"unchanged; this is compatible with the way these are treated by the :mod:"
112139
"`pickle` module."
113140
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`."
114146

115147
#: ../Doc/library/copy.rst:66
116148
msgid ""
117149
"Shallow copies of dictionaries can be made using :meth:`dict.copy`, and of "
118150
"lists by assigning a slice of the entire list, for example, ``copied_list = "
119151
"original_list[:]``."
120152
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[:]``."
121156

122157
#: ../Doc/library/copy.rst:72
123158
msgid ""
@@ -126,6 +161,11 @@ msgid ""
126161
"information on these methods. In fact, the :mod:`copy` module uses the "
127162
"registered pickle functions from the :mod:`copyreg` module."
128163
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`."
129169

130170
#: ../Doc/library/copy.rst:81
131171
msgid ""
@@ -138,13 +178,23 @@ msgid ""
138178
"func:`deepcopy` function with the component as first argument and the memo "
139179
"dictionary as second argument."
140180
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."
141189

142190
#: ../Doc/library/copy.rst:93
143191
msgid "Module :mod:`pickle`"
144-
msgstr ""
192+
msgstr "Módulo :mod:`pickle`"
145193

146194
#: ../Doc/library/copy.rst:93
147195
msgid ""
148196
"Discussion of the special methods used to support object state retrieval and "
149197
"restoration."
150198
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

Comments
 (0)