Skip to content

Traducción whatsnew/2.6.po - wip #1225

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Oct 1, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
avance
  • Loading branch information
cacrespo committed Jun 25, 2021
commit 153bb020d09d6c21e0b946ded089c7fcec473631
15 changes: 13 additions & 2 deletions whatsnew/2.6.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-05 12:54+0200\n"
"PO-Revision-Date: 2021-06-12 19:34-0300\n"
"PO-Revision-Date: 2021-06-25 09:04-0300\n"
"Language-Team: python-doc-es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -714,13 +714,15 @@ msgstr ""

#: ../Doc/whatsnew/2.6.rst:431
msgid "The contextlib module"
msgstr ""
msgstr "El módulo contextlib"

#: ../Doc/whatsnew/2.6.rst:433
msgid ""
"The :mod:`contextlib` module provides some functions and a decorator that "
"are useful when writing objects for use with the ':keyword:`with`' statement."
msgstr ""
"El módulo :mod:`contextlib` proporciona algunas funciones y un decorador que "
"son útiles al escribir objetos para usar con la sentencia ':keyword:`with`'."

#: ../Doc/whatsnew/2.6.rst:436
msgid ""
Expand All @@ -734,6 +736,15 @@ msgid ""
"exception raised in the block will be raised by the :keyword:`!yield` "
"statement."
msgstr ""
"El decorador se llama :func:`contextmanager`, y te permite escribir una "
"única función generadora en lugar de definir una clase nueva. El generador "
"debería producir exactamente un valor. El código hasta :keyword:`yield` se "
"ejecutará como el método :meth:`__enter__`, y el valor obtenido será el "
"valor de retorno del método que se vinculará a la variable en la clausula :"
"keyword:`!as` (si la hay) de la sentencia ':keyword:`with`'. El código "
"después de :keyword:`!yield` se ejecutará en el método :meth:`__exit__` . "
"Cualquier excepción lanzada en el bloque será generada por la sentencia :"
"keyword:`!yield`."

#: ../Doc/whatsnew/2.6.rst:445
msgid ""
Expand Down