@@ -13,12 +13,12 @@ msgstr ""
13
13
"POT-Creation-Date : 2022-10-25 19:47+0200\n "
14
14
"PO-Revision-Date : 2021-08-02 19:21+0200\n "
15
15
"Last-Translator : Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\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/reference/simple_stmts.rst:6
@@ -143,7 +143,7 @@ msgstr ""
143
143
144
144
#: ../Doc/reference/simple_stmts.rst:127
145
145
msgid "Else:"
146
- msgstr ""
146
+ msgstr "Sino: "
147
147
148
148
#: ../Doc/reference/simple_stmts.rst:129
149
149
msgid ""
@@ -803,6 +803,10 @@ msgid ""
803
803
"If there isn't currently an active exception, a :exc:`RuntimeError` "
804
804
"exception is raised indicating that this is an error."
805
805
msgstr ""
806
+ "Si no hay expresiones presentes, :keyword:`raise` vuelve a lanzar la "
807
+ "excepción que se está manejando actualmente, que también se conoce como "
808
+ "*excepción activa*. Si actualmente no hay una excepción activa, se lanza una "
809
+ "excepción :exc:`RuntimeError` que indica que se trata de un error."
806
810
807
811
#: ../Doc/reference/simple_stmts.rst:569
808
812
msgid ""
@@ -825,7 +829,6 @@ msgstr ""
825
829
"dfn:`value` es la propia instancia."
826
830
827
831
#: ../Doc/reference/simple_stmts.rst:579
828
- #, fuzzy
829
832
msgid ""
830
833
"A traceback object is normally created automatically when an exception is "
831
834
"raised and attached to it as the :attr:`__traceback__` attribute, which is "
@@ -835,11 +838,11 @@ msgid ""
835
838
"argument), like so::"
836
839
msgstr ""
837
840
"Normalmente, un objeto de rastreo se crea automáticamente cuando se lanza "
838
- "una excepción y se le adjunta como atributo :attr:`__traceback__`, que se "
839
- "puede escribir. Puede crear una excepción y establecer su propio rastreo en "
840
- "un solo paso utilizando el método de excepción :meth:`with_traceback` (que "
841
- "retorna la misma instancia de excepción, con su rastreo establecido en su "
842
- "argumento), así: :"
841
+ "una excepción y se le adjunta como el atributo :attr:`__traceback__`, que se "
842
+ "puede escribir. Puede crear una excepción y configurar su propio rastreo en "
843
+ "un solo paso usando el método de excepción :meth:`~BaseException. "
844
+ "with_traceback` (que retorna la misma instancia de excepción, con su rastreo "
845
+ "establecido en su argumento), así:"
843
846
844
847
#: ../Doc/reference/simple_stmts.rst:591
845
848
msgid ""
@@ -869,6 +872,11 @@ msgid ""
869
872
"statement, is used. The previous exception is then attached as the new "
870
873
"exception's :attr:`__context__` attribute::"
871
874
msgstr ""
875
+ "Un mecanismo similar funciona implícitamente si se genera una nueva "
876
+ "excepción cuando ya se está manejando una excepción. Se puede manejar una "
877
+ "excepción cuando se usa una cláusula :keyword:`except` o :keyword:`finally`, "
878
+ "o una declaración :keyword:`with`. La excepción anterior se adjunta como el "
879
+ "atributo :attr:`__context__` de la nueva excepción:"
872
880
873
881
#: ../Doc/reference/simple_stmts.rst:636
874
882
msgid ""
@@ -907,6 +915,10 @@ msgid ""
907
915
"modified traceback. Previously, the exception was re-raised with the "
908
916
"traceback it had when it was caught."
909
917
msgstr ""
918
+ "Si el rastreo de la excepción activa se modifica en una cláusula :keyword:"
919
+ "`except`, una instrucción ``raise`` posterior vuelve a generar la excepción "
920
+ "con el rastreo modificado. Anteriormente, la excepción se volvía a generar "
921
+ "con el rastreo que tenía cuando se detectó."
910
922
911
923
#: ../Doc/reference/simple_stmts.rst:667
912
924
msgid "The :keyword:`!break` statement"
0 commit comments