@@ -11,15 +11,16 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.8\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"POT-Creation-Date : 2023-10-12 19:43+0200\n "
14
- "PO-Revision-Date : 2021-10-28 21:47+0200\n "
15
- "Last-Translator : Juan C. Tello <juanctello@gmail.com>\n "
16
- "Language : es\n "
14
+ "PO-Revision-Date : 2023-11-06 23:03+0100\n "
15
+ "Last-Translator : Marcos Medrano <marcosmedrano0@gmail.com>\n "
17
16
"Language-Team : python-doc-es\n "
18
- "Plural-Forms : nplurals=2; plural=(n != 1); \n "
17
+ "Language : es \n "
19
18
"MIME-Version : 1.0\n "
20
19
"Content-Type : text/plain; charset=utf-8\n "
21
20
"Content-Transfer-Encoding : 8bit\n "
21
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
22
22
"Generated-By : Babel 2.13.0\n "
23
+ "X-Generator : Poedit 3.4\n "
23
24
24
25
#: ../Doc/library/__main__.rst:2
25
26
msgid ":mod:`__main__` --- Top-level code environment"
@@ -170,7 +171,6 @@ msgid "Idiomatic Usage"
170
171
msgstr "Uso idiomático"
171
172
172
173
#: ../Doc/library/__main__.rst:118
173
- #, fuzzy
174
174
msgid ""
175
175
"Some modules contain code that is intended for script use only, like parsing "
176
176
"command-line arguments or fetching data from standard input. If a module "
@@ -194,7 +194,6 @@ msgstr ""
194
194
"ejecute en el entorno de máximo nivel."
195
195
196
196
#: ../Doc/library/__main__.rst:127
197
- #, fuzzy
198
197
msgid ""
199
198
"Putting as few statements as possible in the block below ``if __name__ == "
200
199
"'__main__'`` can improve code clarity and correctness. Most often, a "
@@ -263,7 +262,6 @@ msgstr ""
263
262
"implícitamente si tu función no tiene una declaración de retorno)."
264
263
265
264
#: ../Doc/library/__main__.rst:180
266
- #, fuzzy
267
265
msgid ""
268
266
"By proactively following this convention ourselves, our module will have the "
269
267
"same behavior when run directly (i.e. ``python echo.py``) as it will have if "
@@ -272,8 +270,8 @@ msgid ""
272
270
msgstr ""
273
271
"Al seguir pro-activamente esta convención nosotros mismo, nuestro módulo "
274
272
"tendrá el mismo comportamiento cuando se ejecuta directamente (es decir, "
275
- "``python3 echo.py``) que si luego lo empaquetamos como un punto de entrada "
276
- "de script de terminal en un paquete instalable mediante pip."
273
+ "``python echo.py``) que si luego lo empaquetamos como un punto de entrada de "
274
+ "script de terminal en un paquete instalable mediante pip."
277
275
278
276
#: ../Doc/library/__main__.rst:185
279
277
msgid ""
@@ -338,7 +336,6 @@ msgstr ""
338
336
"estudiantes::"
339
337
340
338
#: ../Doc/library/__main__.rst:233
341
- #, fuzzy
342
339
msgid ""
343
340
"Note that ``from .student import search_students`` is an example of a "
344
341
"relative import. This import style can be used when referencing modules "
@@ -351,7 +348,6 @@ msgstr ""
351
348
"ref:`intra-package-references` en la sección :ref:`tut-modules` del tutorial."
352
349
353
350
#: ../Doc/library/__main__.rst:241
354
- #, fuzzy
355
351
msgid ""
356
352
"The content of ``__main__.py`` typically isn't fenced with an ``if __name__ "
357
353
"== '__main__'`` block. Instead, those files are kept short and import "
@@ -375,7 +371,6 @@ msgstr ""
375
371
"atributo ``__name__`` incluirá la ruta del paquete si es importado::"
376
372
377
373
#: ../Doc/library/__main__.rst:254
378
- #, fuzzy
379
374
msgid ""
380
375
"This won't work for ``__main__.py`` files in the root directory of a .zip "
381
376
"file though. Hence, for consistency, minimal ``__main__.py`` like the :mod:"
@@ -387,15 +382,14 @@ msgstr ""
387
382
"arriba."
388
383
389
384
#: ../Doc/library/__main__.rst:260
390
- #, fuzzy
391
385
msgid ""
392
386
"See :mod:`venv` for an example of a package with a minimal ``__main__.py`` "
393
387
"in the standard library. It doesn't contain a ``if __name__ == '__main__'`` "
394
388
"block. You can invoke it with ``python -m venv [directory]``."
395
389
msgstr ""
396
390
"En :mod:`venv` puedes conseguir un ejemplo de un paquete con un ``__main__."
397
391
"py`` minimalista en la librería estándar. No contiene un bloque ``if "
398
- "__name__=='__main__'``. Lo puedes invocar con ``python3 -m venv "
392
+ "__name__=='__main__'``. Lo puedes invocar con ``python -m venv "
399
393
"[directorio]``."
400
394
401
395
#: ../Doc/library/__main__.rst:264
@@ -471,7 +465,6 @@ msgstr ""
471
465
"¿Por qué funciona esto?"
472
466
473
467
#: ../Doc/library/__main__.rst:339
474
- #, fuzzy
475
468
msgid ""
476
469
"Python inserts an empty ``__main__`` module in :data:`sys.modules` at "
477
470
"interpreter startup, and populates it by running top-level code. In our "
@@ -483,12 +476,12 @@ msgid ""
483
476
"<import-dunder-main>` in the import system's reference for details on how "
484
477
"this works."
485
478
msgstr ""
486
- "Python inserta un módulo ``__main__`` vacío en :attr :`sys.modules` al inicio "
479
+ "Python inserta un módulo ``__main__`` vacío en :data :`sys.modules` al inicio "
487
480
"del intérprete, y lo puebla ejecutando código de máximo nivel. En nuestro "
488
481
"ejemplo este es el módulo ``start`` que corre línea a línea e importa "
489
482
"``namely``. A su vez, ``namely`` importa ``__main__`` (que es en verdad "
490
483
"``start``). ¡Es un ciclo de importado! Afortunadamente, como el módulo "
491
- "parcialmente poblado ``__main__`` está presente en :attr :`sys.modules`, "
484
+ "parcialmente poblado ``__main__`` está presente en :data :`sys.modules`, "
492
485
"Python pasa eso a ``namely``. Ver :ref:`Special considerations for __main__ "
493
486
"<import-dunder-main>` en la referencia del sistema para información "
494
487
"detallada de como funciona."
0 commit comments