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

Traduce library/contextlib#2329

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 1 commit into3.11fromtraduce_library_contextlib
Mar 26, 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: 22 additions & 8 deletionslibrary/contextlib.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: 2020-06-24 22:27+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/library/contextlib.rst:2
Expand DownExpand Up@@ -113,7 +113,7 @@ msgstr ""

#: ../Doc/library/contextlib.rst:69
msgid "The function can then be used like this::"
msgstr ""
msgstr "La función se puede usar así:"

#: ../Doc/library/contextlib.rst:75
msgid ""
Expand DownExpand Up@@ -419,12 +419,21 @@ msgid ""
"temporarily relinquished -- unless explicitly desired, you should not yield "
"when this context manager is active."
msgstr ""
"Administrador de contexto no seguro en paralelo para cambiar el directorio "
"de trabajo actual. Como esto cambia un estado global, el directorio de "
"trabajo, no es adecuado para su uso en la mayoría de los contextos "
"asincrónicos o de subprocesos. Tampoco es adecuado para la mayoría de las "
"ejecuciones de código no lineal, como los generadores, donde la ejecución "
"del programa se abandona temporalmente; a menos que se desee explícitamente, "
"no debe ceder el paso cuando este administrador de contexto está activo."

#: ../Doc/library/contextlib.rst:369
msgid ""
"This is a simple wrapper around :func:`~os.chdir`, it changes the current "
"working directory upon entering and restores the old one on exit."
msgstr ""
"Este es un contenedor simple alrededor de :func:`~os.chdir`, cambia el "
"directorio de trabajo actual al ingresar y restaura el anterior al salir."

#: ../Doc/library/contextlib.rst:379
msgid ""
Expand DownExpand Up@@ -458,7 +467,7 @@ msgstr "Ejemplo de ``ContextDecorator``::"

#: ../Doc/library/contextlib.rst:401 ../Doc/library/contextlib.rst:473
msgid "The class can then be used like this::"
msgstr ""
msgstr "La clase se puede usar así:"

#: ../Doc/library/contextlib.rst:419
msgid ""
Expand DownExpand Up@@ -533,6 +542,8 @@ msgid ""
"The :meth:`__enter__` method returns the :class:`ExitStack` instance, and "
"performs no additional operations."
msgstr ""
"El método :meth:`__enter__` retorna la instancia :class:`ExitStack` y no "
"realiza operaciones adicionales."

#: ../Doc/library/contextlib.rst:514
msgid ""
Expand DownExpand Up@@ -609,6 +620,8 @@ msgid ""
"Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm* is not a "
"context manager."
msgstr ""
"Lanza :exc:`TypeError` en lugar de :exc:`AttributeError` si *cm* no es un "
"administrador de contexto."

#: ../Doc/library/contextlib.rst:552
msgid "Adds a context manager's :meth:`__exit__` method to the callback stack."
Expand DownExpand Up@@ -740,6 +753,8 @@ msgid ""
"Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm* is not an "
"asynchronous context manager."
msgstr ""
"Lanza :exc:`TypeError` en lugar de :exc:`AttributeError` si *cm* no es un "
"administrador de contexto asíncrono."

#: ../Doc/library/contextlib.rst:626
msgid ""
Expand DownExpand Up@@ -1066,15 +1081,14 @@ msgstr ""
"keyword:`!with` que ya está usando el mismo gestor de contexto."

#: ../Doc/library/contextlib.rst:930
#, fuzzy
msgid ""
":class:`threading.RLock` is an example of a reentrant context manager, as "
"are :func:`suppress`, :func:`redirect_stdout`, and :func:`chdir`. Here's a "
"very simple example of reentrant use::"
msgstr ""
":class:`threading.RLock` es un ejemplo deunadministrador de contexto "
"reentrante,como son:func:`suppress` y:func:`redirect_stdout`. Aquí hay un"
"ejemplo muy simple de usoreentrante::"
":class:`threading.RLock` es un ejemplo de administrador de contexto "
"reentrante,al igual que:func:`suppress`,:func:`redirect_stdout` y :func:"
"`chdir`. Aquí hay unejemplo muy simple de usode reentrada:"

#: ../Doc/library/contextlib.rst:949
msgid ""
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp