Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork397
Fix (many) more fuzzy entries in the library directory#2736
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
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
10 commits Select commitHold shift + click to select a range
dd53c67
Fix more fuzzy entries in the library directory
mmmarcosca0d868
Merge branch '3.12' into fix-more-fuzzy-entries
rtobare30395a
fix missing backtick
mmmarcosc81a245
Fix spell issues
mmmarcos37ef931
Fix fuzzy entries
mmmarcosa63cfef
Apply suggestions from code review
mmmarcos90a31a2
Fix powrap
mmmarcosfa944fa
Merge branch '3.12' into fix-more-fuzzy-entries
cmaureir358279b
Merge branch '3.12' into fix-more-fuzzy-entries
cmaureirbcebc7d
Merge branch '3.12' into fix-more-fuzzy-entries
cmaureirFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
2 changes: 2 additions & 0 deletionsdictionaries/library_security_warnings.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
security | ||
considerations |
40 changes: 16 additions & 24 deletionslibrary/__main__.po
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -11,15 +11,16 @@ msgstr "" | ||
"Project-Id-Version: Python 3.8\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-10-12 19:43+0200\n" | ||
"PO-Revision-Date: 2023-11-06 23:03+0100\n" | ||
"Last-Translator: Marcos Medrano <marcosmedrano0@gmail.com>\n" | ||
"Language-Team: python-doc-es\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.13.0\n" | ||
"X-Generator: Poedit 3.4\n" | ||
#: ../Doc/library/__main__.rst:2 | ||
msgid ":mod:`__main__` --- Top-level code environment" | ||
@@ -170,7 +171,6 @@ msgid "Idiomatic Usage" | ||
msgstr "Uso idiomático" | ||
#: ../Doc/library/__main__.rst:118 | ||
msgid "" | ||
"Some modules contain code that is intended for script use only, like parsing " | ||
"command-line arguments or fetching data from standard input. If a module " | ||
@@ -194,7 +194,6 @@ msgstr "" | ||
"ejecute en el entorno de máximo nivel." | ||
#: ../Doc/library/__main__.rst:127 | ||
msgid "" | ||
"Putting as few statements as possible in the block below ``if __name__ == " | ||
"'__main__'`` can improve code clarity and correctness. Most often, a " | ||
@@ -263,7 +262,6 @@ msgstr "" | ||
"implícitamente si tu función no tiene una declaración de retorno)." | ||
#: ../Doc/library/__main__.rst:180 | ||
msgid "" | ||
"By proactively following this convention ourselves, our module will have the " | ||
"same behavior when run directly (i.e. ``python echo.py``) as it will have if " | ||
@@ -272,8 +270,8 @@ msgid "" | ||
msgstr "" | ||
"Al seguir pro-activamente esta convención nosotros mismo, nuestro módulo " | ||
"tendrá el mismo comportamiento cuando se ejecuta directamente (es decir, " | ||
"``python echo.py``) que si luego lo empaquetamos como un punto de entrada de " | ||
"script de terminal en un paquete instalable mediante pip." | ||
#: ../Doc/library/__main__.rst:185 | ||
msgid "" | ||
@@ -338,7 +336,6 @@ msgstr "" | ||
"estudiantes::" | ||
#: ../Doc/library/__main__.rst:233 | ||
msgid "" | ||
"Note that ``from .student import search_students`` is an example of a " | ||
"relative import. This import style can be used when referencing modules " | ||
@@ -351,7 +348,6 @@ msgstr "" | ||
"ref:`intra-package-references` en la sección :ref:`tut-modules` del tutorial." | ||
#: ../Doc/library/__main__.rst:241 | ||
mmmarcos marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
msgid "" | ||
"The content of ``__main__.py`` typically isn't fenced with an ``if __name__ " | ||
"== '__main__'`` block. Instead, those files are kept short and import " | ||
@@ -360,9 +356,9 @@ msgid "" | ||
msgstr "" | ||
"Los contenidos de ``__main__.py`` no están típicamente acotados dentro de " | ||
"bloques ``if __name__=='__main__'``. En cambio, esos archivos se mantienen " | ||
"cortos e importanfunciones para ejecutar desde otros módulos. A esos otros " | ||
"módulosse les puede fácilmente realizar pruebas unitarias y son " | ||
"apropiadamente re-utilizables." | ||
#: ../Doc/library/__main__.rst:246 | ||
msgid "" | ||
@@ -375,27 +371,24 @@ msgstr "" | ||
"atributo ``__name__`` incluirá la ruta del paquete si es importado::" | ||
#: ../Doc/library/__main__.rst:254 | ||
mmmarcos marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
msgid "" | ||
"This won't work for ``__main__.py`` files in the root directory of a .zip " | ||
"file though. Hence, for consistency, minimal ``__main__.py`` like the :mod:" | ||
"`venv` one mentioned below are preferred." | ||
msgstr "" | ||
"Esto no funcionará para archivos ``__main__.py`` en el directorio base de un " | ||
"archivo .zip. Por lo tanto, por consistencia, es preferible un ``__main__." | ||
"py`` minimalista como el :mod:`venv` mencionado abajo." | ||
#: ../Doc/library/__main__.rst:260 | ||
msgid "" | ||
"See :mod:`venv` for an example of a package with a minimal ``__main__.py`` " | ||
"in the standard library. It doesn't contain a ``if __name__ == '__main__'`` " | ||
"block. You can invoke it with ``python -m venv [directory]``." | ||
msgstr "" | ||
"En :mod:`venv` puedes conseguir un ejemplo de un paquete con un ``__main__." | ||
"py`` minimalista en la librería estándar. No contiene un bloque ``if " | ||
"__name__=='__main__'``. Lo puedes invocar con ``python -m venv " | ||
"[directorio]``." | ||
#: ../Doc/library/__main__.rst:264 | ||
@@ -471,7 +464,6 @@ msgstr "" | ||
"¿Por qué funciona esto?" | ||
#: ../Doc/library/__main__.rst:339 | ||
msgid "" | ||
"Python inserts an empty ``__main__`` module in :data:`sys.modules` at " | ||
"interpreter startup, and populates it by running top-level code. In our " | ||
@@ -483,12 +475,12 @@ msgid "" | ||
"<import-dunder-main>` in the import system's reference for details on how " | ||
"this works." | ||
msgstr "" | ||
"Python inserta un módulo ``__main__`` vacío en :data:`sys.modules` al inicio " | ||
"del intérprete, y lo puebla ejecutando código de máximo nivel. En nuestro " | ||
"ejemplo este es el módulo ``start`` que corre línea a línea e importa " | ||
"``namely``. A su vez, ``namely`` importa ``__main__`` (que es en verdad " | ||
"``start``). ¡Es un ciclo de importado! Afortunadamente, como el módulo " | ||
"parcialmente poblado ``__main__`` está presente en :data:`sys.modules`, " | ||
"Python pasa eso a ``namely``. Ver :ref:`Special considerations for __main__ " | ||
"<import-dunder-main>` en la referencia del sistema para información " | ||
"detallada de como funciona." | ||
31 changes: 15 additions & 16 deletionslibrary/bz2.po
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
43 changes: 20 additions & 23 deletionslibrary/codeop.po
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.