Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Traducido reference/simple_stmts#2337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mmmarcos merged 2 commits into3.11fromtraduce_reference_simple_stmts
Mar 3, 2023
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 21 additions & 9 deletionsreference/simple_stmts.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,12 +13,12 @@ msgstr ""
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
"PO-Revision-Date: 2021-08-02 19:21+0200\n"
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
"Language: es\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.10.3\n"

#: ../Doc/reference/simple_stmts.rst:6
Expand DownExpand Up@@ -143,7 +143,7 @@ msgstr ""

#: ../Doc/reference/simple_stmts.rst:127
msgid "Else:"
msgstr ""
msgstr "Sino:"

#: ../Doc/reference/simple_stmts.rst:129
msgid ""
Expand DownExpand Up@@ -803,6 +803,10 @@ msgid ""
"If there isn't currently an active exception, a :exc:`RuntimeError` "
"exception is raised indicating that this is an error."
msgstr ""
"Si no hay expresiones presentes, :keyword:`raise` vuelve a lanzar la "
"excepción que se está manejando actualmente, que también se conoce como "
"*excepción activa*. Si actualmente no hay una excepción activa, se lanza una "
"excepción :exc:`RuntimeError` que indica que se trata de un error."

#: ../Doc/reference/simple_stmts.rst:569
msgid ""
Expand All@@ -825,7 +829,6 @@ msgstr ""
"dfn:`value` es la propia instancia."

#: ../Doc/reference/simple_stmts.rst:579
#, fuzzy
msgid ""
"A traceback object is normally created automatically when an exception is "
"raised and attached to it as the :attr:`__traceback__` attribute, which is "
Expand All@@ -835,11 +838,11 @@ msgid ""
"argument), like so::"
msgstr ""
"Normalmente, un objeto de rastreo se crea automáticamente cuando se lanza "
"una excepción y se le adjunta como atributo :attr:`__traceback__`, que se "
"puede escribir. Puede crear una excepción yestablecer su propio rastreo en "
"un solo pasoutilizando el método de excepción :meth:`with_traceback` (que"
"retorna la misma instancia de excepción, con su rastreo establecido en su "
"argumento), así::"
"una excepción y se le adjunta comoelatributo :attr:`__traceback__`, que se "
"puede escribir. Puede crear una excepción yconfigurar su propio rastreo en "
"un solo pasousando el método de excepción :meth:`~BaseException."
"with_traceback` (queretorna la misma instancia de excepción, con su rastreo "
"establecido en suargumento), así:"

#: ../Doc/reference/simple_stmts.rst:591
msgid ""
Expand DownExpand Up@@ -869,6 +872,11 @@ msgid ""
"statement, is used. The previous exception is then attached as the new "
"exception's :attr:`__context__` attribute::"
msgstr ""
"Un mecanismo similar funciona implícitamente si se genera una nueva "
"excepción cuando ya se está manejando una excepción. Se puede manejar una "
"excepción cuando se usa una cláusula :keyword:`except` o :keyword:`finally`, "
"o una declaración :keyword:`with`. La excepción anterior se adjunta como el "
"atributo :attr:`__context__` de la nueva excepción:"

#: ../Doc/reference/simple_stmts.rst:636
msgid ""
Expand DownExpand Up@@ -907,6 +915,10 @@ msgid ""
"modified traceback. Previously, the exception was re-raised with the "
"traceback it had when it was caught."
msgstr ""
"Si el rastreo de la excepción activa se modifica en una cláusula :keyword:"
"`except`, una instrucción ``raise`` posterior vuelve a generar la excepción "
"con el rastreo modificado. Anteriormente, la excepción se volvía a generar "
"con el rastreo que tenía cuando se detectó."

#: ../Doc/reference/simple_stmts.rst:667
msgid "The :keyword:`!break` statement"
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp