@@ -13,12 +13,12 @@ msgstr ""
13
13
"POT-Creation-Date : 2022-10-25 19:47+0200\n "
14
14
"PO-Revision-Date : 2020-06-24 22:27+0200\n "
15
15
"
Last-Translator :
Cristián Maureira-Fredes <[email protected] >\n "
16
- "Language : es\n "
17
16
"Language-Team : python-doc-es\n "
18
- "Plural-Forms : nplurals=2; plural=(n != 1); \n "
17
+ "Language : es \n "
19
18
"MIME-Version : 1.0\n "
20
19
"Content-Type : text/plain; charset=utf-8\n "
21
20
"Content-Transfer-Encoding : 8bit\n "
21
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
22
22
"Generated-By : Babel 2.10.3\n "
23
23
24
24
#: ../Doc/library/contextlib.rst:2
@@ -113,7 +113,7 @@ msgstr ""
113
113
114
114
#: ../Doc/library/contextlib.rst:69
115
115
msgid "The function can then be used like this::"
116
- msgstr ""
116
+ msgstr "La función se puede usar así: "
117
117
118
118
#: ../Doc/library/contextlib.rst:75
119
119
msgid ""
@@ -419,12 +419,21 @@ msgid ""
419
419
"temporarily relinquished -- unless explicitly desired, you should not yield "
420
420
"when this context manager is active."
421
421
msgstr ""
422
+ "Administrador de contexto no seguro en paralelo para cambiar el directorio "
423
+ "de trabajo actual. Como esto cambia un estado global, el directorio de "
424
+ "trabajo, no es adecuado para su uso en la mayoría de los contextos "
425
+ "asincrónicos o de subprocesos. Tampoco es adecuado para la mayoría de las "
426
+ "ejecuciones de código no lineal, como los generadores, donde la ejecución "
427
+ "del programa se abandona temporalmente; a menos que se desee explícitamente, "
428
+ "no debe ceder el paso cuando este administrador de contexto está activo."
422
429
423
430
#: ../Doc/library/contextlib.rst:369
424
431
msgid ""
425
432
"This is a simple wrapper around :func:`~os.chdir`, it changes the current "
426
433
"working directory upon entering and restores the old one on exit."
427
434
msgstr ""
435
+ "Este es un contenedor simple alrededor de :func:`~os.chdir`, cambia el "
436
+ "directorio de trabajo actual al ingresar y restaura el anterior al salir."
428
437
429
438
#: ../Doc/library/contextlib.rst:379
430
439
msgid ""
@@ -458,7 +467,7 @@ msgstr "Ejemplo de ``ContextDecorator``::"
458
467
459
468
#: ../Doc/library/contextlib.rst:401 ../Doc/library/contextlib.rst:473
460
469
msgid "The class can then be used like this::"
461
- msgstr ""
470
+ msgstr "La clase se puede usar así: "
462
471
463
472
#: ../Doc/library/contextlib.rst:419
464
473
msgid ""
@@ -533,6 +542,8 @@ msgid ""
533
542
"The :meth:`__enter__` method returns the :class:`ExitStack` instance, and "
534
543
"performs no additional operations."
535
544
msgstr ""
545
+ "El método :meth:`__enter__` retorna la instancia :class:`ExitStack` y no "
546
+ "realiza operaciones adicionales."
536
547
537
548
#: ../Doc/library/contextlib.rst:514
538
549
msgid ""
@@ -609,6 +620,8 @@ msgid ""
609
620
"Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm* is not a "
610
621
"context manager."
611
622
msgstr ""
623
+ "Lanza :exc:`TypeError` en lugar de :exc:`AttributeError` si *cm* no es un "
624
+ "administrador de contexto."
612
625
613
626
#: ../Doc/library/contextlib.rst:552
614
627
msgid "Adds a context manager's :meth:`__exit__` method to the callback stack."
@@ -740,6 +753,8 @@ msgid ""
740
753
"Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm* is not an "
741
754
"asynchronous context manager."
742
755
msgstr ""
756
+ "Lanza :exc:`TypeError` en lugar de :exc:`AttributeError` si *cm* no es un "
757
+ "administrador de contexto asíncrono."
743
758
744
759
#: ../Doc/library/contextlib.rst:626
745
760
msgid ""
@@ -1066,15 +1081,14 @@ msgstr ""
1066
1081
"keyword:`!with` que ya está usando el mismo gestor de contexto."
1067
1082
1068
1083
#: ../Doc/library/contextlib.rst:930
1069
- #, fuzzy
1070
1084
msgid ""
1071
1085
":class:`threading.RLock` is an example of a reentrant context manager, as "
1072
1086
"are :func:`suppress`, :func:`redirect_stdout`, and :func:`chdir`. Here's a "
1073
1087
"very simple example of reentrant use::"
1074
1088
msgstr ""
1075
- ":class:`threading.RLock` es un ejemplo de un administrador de contexto "
1076
- "reentrante, como son :func:`suppress` y :func:`redirect_stdout`. Aquí hay un "
1077
- "ejemplo muy simple de uso reentrante: :"
1089
+ ":class:`threading.RLock` es un ejemplo de administrador de contexto "
1090
+ "reentrante, al igual que :func:`suppress`, :func:`redirect_stdout` y :func: "
1091
+ "`chdir`. Aquí hay un ejemplo muy simple de uso de reentrada :"
1078
1092
1079
1093
#: ../Doc/library/contextlib.rst:949
1080
1094
msgid ""
0 commit comments