11# Copyright (C) 2001-2020, Python Software Foundation
22# This file is distributed under the same license as the Python package.
3- # Maintained by the python-doc-es workteam.
3+ # Maintained by the python-doc-es workteam.
44# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
55# Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
66#
7- #, fuzzy
87msgid ""
98msgstr ""
109"Project-Id-Version : Python 3.8\n "
1110"Report-Msgid-Bugs-To : \n "
1211"POT-Creation-Date : 2019-05-06 11:59-0400\n "
13- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
14- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
12+ "PO-Revision-Date : 2021-01-08 10:21-0300\n "
1513"Language-Team : python-doc-es\n "
1614"MIME-Version : 1.0\n "
1715"Content-Type : text/plain; charset=UTF-8\n "
1816"Content-Transfer-Encoding : 8bit\n "
17+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
18+ "Last-Translator : \n "
19+ "Language : es\n "
20+ "X-Generator : Poedit 2.4.2\n "
1921
2022#: ../Doc/library/__main__.rst:3
2123msgid ":mod:`__main__` --- Top-level script environment"
22- msgstr ""
24+ msgstr ":mod:`__main__` --- Entorno de script del nivel superior "
2325
2426#: ../Doc/library/__main__.rst:10
2527msgid ""
2628"``'__main__'`` is the name of the scope in which top-level code executes. A "
2729"module's __name__ is set equal to ``'__main__'`` when read from standard "
2830"input, a script, or from an interactive prompt."
2931msgstr ""
32+ "``'__main__'`` es el nombre del ámbito en el que se ejecuta el código de "
33+ "nivel superior. El atributo __name__ de un módulo se establece igual a "
34+ "``'__main__'`` cuando se lee desde una entrada estándar, un script o un "
35+ "prompt interactivo."
3036
3137#: ../Doc/library/__main__.rst:14
3238msgid ""
@@ -35,10 +41,17 @@ msgid ""
3541"executing code in a module when it is run as a script or with ``python -m`` "
3642"but not when it is imported::"
3743msgstr ""
44+ "Un módulo puede descubrir si se está ejecutando o no en el ámbito principal "
45+ "al verificar su propio ``__name__``, lo cual permite un idioma común para "
46+ "ejecutar código condicionalmente en un modulo cuando este se ejecuta como un "
47+ "script o con ``python -m`` pero no cuando este es importado::"
3848
3949#: ../Doc/library/__main__.rst:23
4050msgid ""
4151"For a package, the same effect can be achieved by including a ``__main__."
4252"py`` module, the contents of which will be executed when the module is run "
4353"with ``-m``."
4454msgstr ""
55+ "Para un paquete, se puede lograr el mismo efecto incluyendo un modulo "
56+ "``__main__.py``, cuyo contenido se ejecutara cuando el modulo se ejecute con "
57+ "``-m``."
0 commit comments