@@ -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 :2022-10-25 19:47+0200\n "
14
- "PO-Revision-Date :2023-03-21 10:31 -0300\n "
14
+ "PO-Revision-Date :2023-03-21 10:58 -0300\n "
15
15
"Last-Translator :Francisco Mora <fr.morac@duocuc.cl>\n "
16
16
"Language-Team :python-doc-es\n "
17
17
"Language :es\n "
@@ -266,13 +266,12 @@ msgstr ""
266
266
267
267
# No estoy seguro si es la mejor traducción.
268
268
#: ../Doc/tutorial/errors.rst:177
269
- #, fuzzy
270
269
msgid ""
271
270
"The exception's :meth:`__str__` output is printed as the last part "
272
271
"('detail') of the message for unhandled exceptions."
273
272
msgstr ""
274
273
"La salida :meth:`__str__` de la excepción se imprime como la última parte "
275
- "('detalle') del mensaje para las excepciones nomanejadas ."
274
+ "('detalle') del mensaje para las excepciones nogestionadas ."
276
275
277
276
#: ../Doc/tutorial/errors.rst:180
278
277
msgid ""
@@ -712,69 +711,7 @@ msgid ""
712
711
"to add context information for the individual errors. In the following each "
713
712
"exception in the group has a note indicating when this error has occurred. ::"
714
713
msgstr ""
715
-
716
- #~ msgid ""
717
- #~ "All exceptions inherit from :exc:`BaseException`, and so it can be used "
718
- #~ "to serve as a wildcard. Use this with extreme caution, since it is easy "
719
- #~ "to mask a real programming error in this way! It can also be used to "
720
- #~ "print an error message and then re-raise the exception (allowing a caller "
721
- #~ "to handle the exception as well)::"
722
- #~ msgstr ""
723
- #~ "Todas las excepciones heredan de :exc:`BaseException`, por lo que se "
724
- #~ "puede utilizar como comodín. ¡Use esto con extrema precaución, ya que es "
725
- #~ "fácil enmascarar un error de programación real de esta manera! También se "
726
- #~ "puede usar para imprimir un mensaje de error y luego volver a generar la "
727
- #~ "excepción (permitiendo que la función que llama también maneje la "
728
- #~ "excepción):"
729
-
730
- #~ msgid ""
731
- #~ "Alternatively the last except clause may omit the exception name(s), "
732
- #~ "however the exception value must then be retrieved from ``sys.exc_info()"
733
- #~ "[1]``."
734
- #~ msgstr ""
735
- #~ "Alternativamente, la última cláusula except puede omitir el(los) "
736
- #~ "nombre(s) de excepción, sin embargo, el valor de la excepción debe "
737
- #~ "recuperarse de ``sys.exc_info()[1]``."
738
-
739
- #~ msgid ""
740
- #~ "The *except clause* may specify a variable after the exception name. The "
741
- #~ "variable is bound to an exception instance with the arguments stored in "
742
- #~ "``instance.args``. For convenience, the exception instance defines :meth:"
743
- #~ "`__str__` so the arguments can be printed directly without having to "
744
- #~ "reference ``.args``. One may also instantiate an exception first before "
745
- #~ "raising it and add any attributes to it as desired. ::"
746
- #~ msgstr ""
747
- #~ "La *cláusula except* puede especificar una variable después del nombre de "
748
- #~ "la excepción. La variable está vinculada a una instancia de excepción con "
749
- #~ "los argumentos almacenados en ``instance.args``. Por conveniencia, la "
750
- #~ "instancia de excepción define :meth:`__str__` para que los argumentos se "
751
- #~ "puedan imprimir directamente sin tener que hacer referencia a ``.args``. "
752
- #~ "También se puede crear una instancia de una excepción antes de generarla "
753
- #~ "y agregarle los atributos que desee. ::"
754
-
755
- #~ msgid ""
756
- #~ "Exception handlers don't just handle exceptions if they occur immediately "
757
- #~ "in the *try clause*, but also if they occur inside functions that are "
758
- #~ "called (even indirectly) in the *try clause*. For example::"
759
- #~ msgstr ""
760
- #~ "Los gestores de excepciones no solo gestionan las excepciones si ocurren "
761
- #~ "inmediatamente en la *cláusula try*, sino también si ocurren dentro de "
762
- #~ "funciones que son llamadas (incluso indirectamente) en la *cláusula try*. "
763
- #~ "Por ejemplo::"
764
-
765
- #~ msgid ""
766
- #~ "The :keyword:`raise` statement allows an optional :keyword:`from<raise>` "
767
- #~ "which enables chaining exceptions. For example::"
768
- #~ msgstr ""
769
- #~ "La declaración :keyword:`raise` permite una palabra clave opcional :"
770
- #~ "keyword:`from<raise>` que habilita el encadenamiento de excepciones. Por "
771
- #~ "ejemplo::"
772
-
773
- #~ msgid ""
774
- #~ "Exception chaining happens automatically when an exception is raised "
775
- #~ "inside an :keyword:`except` or :keyword:`finally` section. This can be "
776
- #~ "disabled by using ``from None`` idiom:"
777
- #~ msgstr ""
778
- #~ "El encadenamiento de excepciones ocurre automáticamente cuando se lanza "
779
- #~ "una excepción dentro de una sección :keyword:`except` o :keyword:"
780
- #~ "`finally`. Esto se puede desactivar usando el modismo ``from None``:"
714
+ "Por ejemplo, al recopilar excepciones en un grupo de excepciones, es posible "
715
+ "que queramos añadir información de contexto para los errores individuales. A "
716
+ "continuación, cada excepción del grupo tiene una nota que indica cuándo se "
717
+ "ha producido ese error. ::"