@@ -11,7 +11,7 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.8\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"POT-Creation-Date : 2020-05-05 12:54+0200\n "
14
- "PO-Revision-Date : 2020-05-14 17:23-0300 \n "
14
+ "PO-Revision-Date : 2020-10-06 14:13-0500 \n "
15
15
"Language-Team : python-doc-es\n "
16
16
"MIME-Version : 1.0\n "
17
17
"Content-Type : text/plain; charset=UTF-8\n "
@@ -54,6 +54,14 @@ msgid ""
54
54
"lib/` would only import from the :file:`lib/` subdirectory within the "
55
55
"archive."
56
56
msgstr ""
57
+ "Típicamente :data:`sys.path` es una lista de cadenas con nombres de "
58
+ "directorios. Este módulo también permite a un elemento de :data:`sys.path` "
59
+ "ser una cadena con la que se nombre a un archivo ZIP. El archivo ZIP puede "
60
+ "contener una estructura de subdirectorios para soportar la importación de "
61
+ "paquetes, y una ruta dentro del archivo puede ser especificada para "
62
+ "únicamente importar desde un subdirectorio. Por ejemplo, la ruta :file:"
63
+ "`example.zip/lib/` sólo importaría desde el subdirectorio :file:`lib/` "
64
+ "dentro del archivo."
57
65
58
66
#: ../Doc/library/zipimport.rst:26
59
67
msgid ""
@@ -64,6 +72,13 @@ msgid ""
64
72
"the corresponding :file:`.pyc` file, meaning that if a ZIP archive doesn't "
65
73
"contain :file:`.pyc` files, importing may be rather slow."
66
74
msgstr ""
75
+ "Cualquier archivo puede estar presente en el archivo ZIP, pero únicamente "
76
+ "los archivos :file:`.py` y :file:`.pyc` están disponibles para importar. La "
77
+ "importación ZIP de módulos dinámicos (:file:`.pyd`, :file:`.so`) no está "
78
+ "permitida. Cabe señalar que si un archivo ZIP contiene solamente archivos :"
79
+ "file:`.py`, Python no intentará modificar el archivo agregando los "
80
+ "correspondientes archivos :file:`.pyc`, esto quiere decir que si un archivo "
81
+ "ZIP no contiene archivos :file:`.pyc` la importación puede ser algo lenta."
67
82
68
83
#: ../Doc/library/zipimport.rst:33
69
84
msgid "Previously, ZIP archives with an archive comment were not supported."
@@ -122,7 +137,7 @@ msgid ""
122
137
"Exception raised by zipimporter objects. It's a subclass of :exc:"
123
138
"`ImportError`, so it can be caught as :exc:`ImportError`, too."
124
139
msgstr ""
125
- "Excepción provocada por objetos zipimporter. Es una subclase de :exc:"
140
+ "Excepción lanzada por objetos zipimporter. Es una subclase de :exc:"
126
141
"`ImportError`, por lo que también puede ser capturada como :exc:"
127
142
"`ImportError`."
128
143
@@ -153,8 +168,8 @@ msgid ""
153
168
":exc:`ZipImportError` is raised if *archivepath* doesn't point to a valid "
154
169
"ZIP archive."
155
170
msgstr ""
156
- ":exc:`ZipImportError` es generado si *archivepath* no apunta a un archivo "
157
- "ZIP válido."
171
+ ":exc:`ZipImportError` es lanzada si *archivepath* no apunta a un archivo ZIP "
172
+ "válido."
158
173
159
174
# dotted notation -- punteado
160
175
#: ../Doc/library/zipimport.rst:78
@@ -177,34 +192,37 @@ msgid ""
177
192
"Return the code object for the specified module. Raise :exc:`ZipImportError` "
178
193
"if the module couldn't be found."
179
194
msgstr ""
180
- "Retorna el objeto de código para el módulo especificado. Genera :exc:"
195
+ "Retorna el objeto de código para el módulo especificado. Lanza :exc:"
181
196
"`ZipImportError` si el módulo no pudo ser encontrado."
182
197
183
198
#: ../Doc/library/zipimport.rst:93
184
199
msgid ""
185
200
"Return the data associated with *pathname*. Raise :exc:`OSError` if the file "
186
201
"wasn't found."
187
202
msgstr ""
188
- "Retorna los datos asociados con *pathname*. Genera :exc:`OSError` si el "
203
+ "Retorna los datos asociados con *pathname*. Lanza :exc:`OSError` si el "
189
204
"archivo no fue encontrado."
190
205
191
206
#: ../Doc/library/zipimport.rst:96
192
207
msgid ":exc:`IOError` used to be raised instead of :exc:`OSError`."
193
- msgstr ":exc:`IOError` solía generarse en lugar de :exc:`OSError`."
208
+ msgstr ":exc:`IOError` solía lanzarse en lugar de :exc:`OSError`."
194
209
195
210
#: ../Doc/library/zipimport.rst:102
196
211
msgid ""
197
212
"Return the value ``__file__`` would be set to if the specified module was "
198
213
"imported. Raise :exc:`ZipImportError` if the module couldn't be found."
199
214
msgstr ""
215
+ "Retorna el valor que se le habría asignado a ``__file__`` si el módulo "
216
+ "especificado fue importado. Lanza :exc:`ZipImportError` si el módulo no "
217
+ "pudo ser encontrado."
200
218
201
219
#: ../Doc/library/zipimport.rst:111
202
220
msgid ""
203
221
"Return the source code for the specified module. Raise :exc:`ZipImportError` "
204
222
"if the module couldn't be found, return :const:`None` if the archive does "
205
223
"contain the module, but has no source for it."
206
224
msgstr ""
207
- "Retorna el código fuente para el módulo especificado. Genera :exc:"
225
+ "Retorna el código fuente para el módulo especificado. Lanza :exc:"
208
226
"`ZipImportError` si el módulo no pudo ser encontrado, retorna :const:`None` "
209
227
"si el archivo no contiene al módulo, pero no tiene fuente para ello."
210
228
@@ -214,18 +232,17 @@ msgid ""
214
232
"exc:`ZipImportError` if the module couldn't be found."
215
233
msgstr ""
216
234
"Retorna ``True`` si el módulo especificado por *fullname* es un paquete. "
217
- "Genera :exc:`ZipImportError` si el módulo no pudo ser encontrado."
235
+ "Lanza :exc:`ZipImportError` si el módulo no pudo ser encontrado."
218
236
219
237
# dotted notation -- punteado
220
238
#: ../Doc/library/zipimport.rst:125
221
- #, fuzzy
222
239
msgid ""
223
240
"Load the module specified by *fullname*. *fullname* must be the fully "
224
241
"qualified (dotted) module name. It returns the imported module, or raises :"
225
242
"exc:`ZipImportError` if it wasn't found."
226
243
msgstr ""
227
244
"Cargue el módulo especificado por *fullname*. *fullname* debe ser el nombre "
228
- "completo de módulo (punteado). Retorna el módulo importado, o genera :exc:"
245
+ "completo de módulo (punteado). Retorna el módulo importado, o lanza :exc:"
229
246
"`ZipImportError` si no fue encontrado."
230
247
231
248
#: ../Doc/library/zipimport.rst:132
0 commit comments