8000 Traduccion archivo exceptions.po · python/python-docs-es@ccc5093 · GitHub
[go: up one dir, main page]

Skip to content

Commit ccc5093

Browse files
committed
Traduccion archivo exceptions.po
1 parent 082e409 commit ccc5093

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

library/exceptions.po

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgstr ""
99
"Project-Id-Version: Python 3.8\n"
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
12-
"PO-Revision-Date: 2020-05-16 13:27-0500\n"
12+
"PO-Revision-Date: 2020-05-16 14:43-0500\n"
1313
"Language-Team: python-doc-es\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
@@ -106,6 +106,10 @@ msgid ""
106106
"be supplemented with an explicit cause by using :keyword:`from` with :"
107107
"keyword:`raise`::"
108108
msgstr ""
109+
"Al generar una nueva excepción (en lugar de usar solamente \"raise\" para "
110+
"volver a generar la excepción que se esta manejando actualmente), el "
111+
"contexto de excepción implícito se puede complementar con una causa "
112+
"explicita mediante :keyword:`from` con :keyword:`raise`::"
109113

110114
#: ../Doc/library/exceptions.rst:50
111115
msgid ""
@@ -117,6 +121,14 @@ msgid ""
117121
"exc:`KeyError` to :exc:`AttributeError`), while leaving the old exception "
118122
"available in :attr:`__context__` for introspection when debugging."
119123
msgstr ""
124+
"La siguiente expresión :keyword:`from` tiene que ser una excepción o \"None"
125+
"\". Se establecerá como :attr:`__cause__`en la excepción planteada. "
126+
"Ajustando :attr:`__cause__` también establece implícitamente el atributo :"
127+
"attr:`__suppress_context__` en \"True\", de modo que el uso de la "
128+
"\"generación new_exc from None\" reemplaza eficazmente la antigua excepción "
129+
"con la nueva para fines de visualización (e.j., convertir :exc:`KeyError` "
130+
"to :exc:`AttributeError`), dejando la antigua excepción disponible en: attr: "
131+
"`__context__` para introspección al depurar."
120132

121133
#: ../Doc/library/exceptions.rst:59
122134
msgid ""

0 commit comments

Comments
 (0)
0