Skip to content

Commit 3d77155

Browse files
committed
Completar la traducción de c-api/import.po
Cierra #3828.
1 parent 31d0120 commit 3d77155

1 file changed

Lines changed: 26 additions & 36 deletions

File tree

‎c-api/import.po‎

Lines changed: 26 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -214,29 +214,25 @@ msgstr ""
214214
"del autor del módulo)."
215215

216216
#: ../Doc/c-api/import.rst:139
217-
#, fuzzy
218217
msgid ""
219218
"The module's :attr:`~module.__spec__` and :attr:`~module.__loader__` will be "
220219
"set, if not set already, with the appropriate values. The spec's loader "
221220
"will be set to the module's :attr:`!__loader__` (if set) and to an instance "
222221
"of :class:`~importlib.machinery.SourceFileLoader` otherwise."
223-
msgstr ""
224-
"Los :attr:`__spec__` y :attr:`__loader__` del módulo se establecerán, si no "
225-
"se han configurado ya, con los valores apropiados. El cargador de la "
226-
"especificación se establecerá en el ``__loader__`` del módulo (si está "
227-
"configurado) y en una instancia de :class:`~importlib.machinery."
228-
"SourceFileLoader` de lo contrario."
222+
msgstr "Los :attr:`~module.__spec__` y :attr:`~module.__loader__` del módulo "
223+
"se establecerán, si no se han configurado ya, con los valores apropiados. El "
224+
"cargador de la especificación se establecerá al :attr:`!__loader__` del "
225+
"módulo (si está configurado) y a una instancia de "
226+
":class:`~importlib.machinery.SourceFileLoader` en caso contrario."
229227

230228
#: ../Doc/c-api/import.rst:144
231-
#, fuzzy
232229
msgid ""
233230
"The module's :attr:`~module.__file__` attribute will be set to the code "
234231
"object's :attr:`~codeobject.co_filename`. If applicable, :attr:`~module."
235232
"__cached__` will also be set."
236-
msgstr ""
237-
"El atributo :attr:`__file__` del módulo se establecerá al :attr:`~codeobject."
238-
"co_filename` del objeto código. Si corresponde, también se establecerá :attr:"
239-
"`__cached__`."
233+
msgstr "El atributo :attr:`~module.__file__` del módulo se establecerá al "
234+
":attr:`~codeobject.co_filename` del objeto código. Si corresponde, también se"
235+
" establecerá :attr:`~module.__cached__`."
240236

241237
#: ../Doc/c-api/import.rst:148
242238
msgid ""
@@ -264,46 +260,40 @@ msgstr ""
264260
"`PyImport_ExecCodeModuleWithPathnames`."
265261

266262
#: ../Doc/c-api/import.rst:157
267-
#, fuzzy
268263
msgid ""
269264
"The setting of :attr:`~module.__cached__` and :attr:`~module.__loader__` is "
270265
"deprecated. See :class:`~importlib.machinery.ModuleSpec` for alternatives."
271-
msgstr ""
272-
"El establecimiento de :attr:`__cached__` y :attr:`__loader__` está obsoleto. "
273-
"Ver :class:`~importlib.machinery.ModuleSpec` para alternativas."
266+
msgstr "El establecimiento de :attr:`~module.__cached__` y "
267+
":attr:`~module.__loader__` está obsoleto. Consulte "
268+
":class:`~importlib.machinery.ModuleSpec` para ver las alternativas."
274269

275270
#: ../Doc/c-api/import.rst:165
276-
#, fuzzy
277271
msgid ""
278272
"Like :c:func:`PyImport_ExecCodeModule`, but the :attr:`~module.__file__` "
279273
"attribute of the module object is set to *pathname* if it is non-``NULL``."
280-
msgstr ""
281-
"Como :c:func:`PyImport_ExecCodeModule`, pero el atributo :attr:`__file__` "
282-
"del objeto del módulo se establece en *pathname* si no es ``NULL``."
274+
msgstr "Como :c:func:`PyImport_ExecCodeModule`, pero el atributo "
275+
":attr:`~module.__file__` del objeto módulo se establece en *pathname* si no "
276+
"es ``NULL``."
283277

284278
#: ../Doc/c-api/import.rst:168
285279
msgid "See also :c:func:`PyImport_ExecCodeModuleWithPathnames`."
286280
msgstr "Ver también :c:func:`PyImport_ExecCodeModuleWithPathnames`."
287281

288282
#: ../Doc/c-api/import.rst:173
289-
#, fuzzy
290283
msgid ""
291284
"Like :c:func:`PyImport_ExecCodeModuleEx`, but the :attr:`~module.__cached__` "
292285
"attribute of the module object is set to *cpathname* if it is non-``NULL``. "
293286
"Of the three functions, this is the preferred one to use."
294-
msgstr ""
295-
"Como :c:func:`PyImport_ExecCodeModuleEx`, pero el atributo :attr:"
296-
"`__cached__` del objeto módulo se establece en *cpathname* si no es "
297-
"``NULL``. De las tres funciones, esta es la recomendada para usar."
287+
msgstr "Como :c:func:`PyImport_ExecCodeModuleEx`, pero el atributo "
288+
":attr:`~module.__cached__` del objeto módulo se establece en *cpathname* si "
289+
"no es ``NULL``. De las tres funciones, esta es la que se prefiere usar."
298290

299291
#: ../Doc/c-api/import.rst:179
300-
#, fuzzy
301292
msgid ""
302293
"Setting :attr:`~module.__cached__` is deprecated. See :class:`~importlib."
303294
"machinery.ModuleSpec` for alternatives."
304-
msgstr ""
305-
"El establecimiento de :attr:`__cached__` está obsoleto. Ver :class:"
306-
"`~importlib.machinery.ModuleSpec` para alternativas."
295+
msgstr "El establecimiento de :attr:`~module.__cached__` está obsoleto. "
296+
"Consulte :class:`~importlib.machinery.ModuleSpec` para ver las alternativas."
307297

308298
#: ../Doc/c-api/import.rst:186
309299
msgid ""
@@ -540,28 +530,28 @@ msgstr ""
540530

541531
#: ../Doc/c-api/import.rst:332
542532
msgid "Import the module *mod_name* and get its attribute *attr_name*."
543-
msgstr ""
533+
msgstr "Importa el módulo *mod_name* y obtiene su atributo *attr_name*."
544534

545535
#: ../Doc/c-api/import.rst:334
546536
msgid "Names must be Python :class:`str` objects."
547-
msgstr ""
537+
msgstr "Los nombres deben ser objetos :class:`str` de Python."
548538

549539
#: ../Doc/c-api/import.rst:336
550540
msgid ""
551541
"Helper function combining :c:func:`PyImport_Import` and :c:func:"
552542
"`PyObject_GetAttr`. For example, it can raise :exc:`ImportError` if the "
553543
"module is not found, and :exc:`AttributeError` if the attribute doesn't "
554544
"exist."
555-
msgstr ""
545+
msgstr "Función auxiliar que combina :c:func:`PyImport_Import` y "
546+
":c:func:`PyObject_GetAttr`. Por ejemplo, puede lanzar :exc:`ImportError` si "
547+
"no se encuentra el módulo, y :exc:`AttributeError` si el atributo no existe."
556548

557549
#: ../Doc/c-api/import.rst:345
558-
#, fuzzy
559550
msgid ""
560551
"Similar to :c:func:`PyImport_ImportModuleAttr`, but names are UTF-8 encoded "
561552
"strings instead of Python :class:`str` objects."
562-
msgstr ""
563-
"Similar a :c:func:`PyImport_ImportModuleLevelObject`, pero el nombre es una "
564-
"cadena de caracteres codificada UTF-8 en lugar de un objeto Unicode."
553+
msgstr "Similar a :c:func:`PyImport_ImportModuleAttr`, pero los nombres son "
554+
"cadenas codificadas en UTF-8 en lugar de objetos :class:`str` de Python."
565555

566556
#: ../Doc/c-api/import.rst:11
567557
msgid "package variable"

0 commit comments

Comments
 (0)