1
1
# Copyright (C) 2001-2020, Python Software Foundation
2
2
# 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.
4
4
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5
5
# Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
6
6
#
7
- #, fuzzy
8
7
msgid ""
9
8
msgstr ""
10
9
"Project-Id-Version : Python 3.8\n "
11
10
"Report-Msgid-Bugs-To : \n "
12
11
"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 "
15
13
"Language-Team : python-doc-es\n "
16
14
"MIME-Version : 1.0\n "
17
15
"Content-Type : text/plain; charset=UTF-8\n "
18
16
"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 "
19
21
20
22
#: ../Doc/library/__main__.rst:3
21
23
msgid ":mod:`__main__` --- Top-level script environment"
22
- msgstr ""
24
+ msgstr ":mod:`__main__` --- Entorno de script del nivel superior "
23
25
24
26
#: ../Doc/library/__main__.rst:10
25
27
msgid ""
26
28
"``'__main__'`` is the name of the scope in which top-level code executes. A "
27
29
"module's __name__ is set equal to ``'__main__'`` when read from standard "
28
30
"input, a script, or from an interactive prompt."
29
31
msgstr ""
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."
30
36
31
37
#: ../Doc/library/__main__.rst:14
32
38
msgid ""
@@ -35,10 +41,17 @@ msgid ""
35
41
"executing code in a module when it is run as a script or with ``python -m`` "
36
42
"but not when it is imported::"
37
43
msgstr ""
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::"
38
48
39
49
#: ../Doc/library/__main__.rst:23
40
50
msgid ""
41
51
"For a package, the same effect can be achieved by including a ``__main__."
42
52
"py`` module, the contents of which will be executed when the module is run "
43
53
"with ``-m``."
44
54
msgstr ""
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