@@ -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 "
@@ -360,9 +356,9 @@ msgid ""
360
356
msgstr ""
361
357
"Los contenidos de ``__main__.py`` no están típicamente acotados dentro de "
362
358
"bloques ``if __name__=='__main__'``. En cambio, esos archivos se mantienen "
363
- "cortos, funciones para ejecutar desde otros módulos. A esos otros módulos "
364
- "se les puede fácilmente realizar pruebas unitarias y son apropiadamente re- "
365
- "utilizables."
359
+ "cortos e importan funciones para ejecutar desde otros módulos. A esos otros "
360
+ "módulos se les puede fácilmente realizar pruebas unitarias y son "
361
+ "apropiadamente re- utilizables."
366
362
367
363
#: ../Doc/library/__main__.rst:246
368
364
msgid ""
@@ -375,27 +371,24 @@ 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:"
382
377
"`venv` one mentioned below are preferred."
383
378
msgstr ""
384
- "Sin embargo, esto no funcionará para archivos ``__main__.py`` en el "
385
- "directorio base de un archivo .zip. Por lo tanto, por consistencia, es "
386
- "preferible un ``__main__.py`` minimalista como el :mod:`venv` mencionado "
387
- "arriba."
379
+ "Esto no funcionará para archivos ``__main__.py`` en el directorio base de un "
380
+ "archivo .zip. Por lo tanto, por consistencia, es preferible un ``__main__."
381
+ "py`` minimalista como el :mod:`venv` mencionado abajo."
388
382
389
383
#: ../Doc/library/__main__.rst:260
390
- #, fuzzy
391
384
msgid ""
392
385
"See :mod:`venv` for an example of a package with a minimal ``__main__.py`` "
393
386
"in the standard library. It doesn't contain a ``if __name__ == '__main__'`` "
394
387
"block. You can invoke it with ``python -m venv [directory]``."
395
388
msgstr ""
396
389
"En :mod:`venv` puedes conseguir un ejemplo de un paquete con un ``__main__."
397
390
"py`` minimalista en la librería estándar. No contiene un bloque ``if "
398
- "__name__=='__main__'``. Lo puedes invocar con ``python3 -m venv "
391
+ "__name__=='__main__'``. Lo puedes invocar con ``python -m venv "
399
392
"[directorio]``."
400
393
401
394
#: ../Doc/library/__main__.rst:264
@@ -471,7 +464,6 @@ msgstr ""
471
464
"¿Por qué funciona esto?"
472
465
473
466
#: ../Doc/library/__main__.rst:339
474
- #, fuzzy
475
467
msgid ""
476
468
"Python inserts an empty ``__main__`` module in :data:`sys.modules` at "
477
469
"interpreter startup, and populates it by running top-level code. In our "
@@ -483,12 +475,12 @@ msgid ""
483
475
"<import-dunder-main>` in the import system's reference for details on how "
484
476
"this works."
485
477
msgstr ""
486
- "Python inserta un módulo ``__main__`` vacío en :attr :`sys.modules` al inicio "
478
+ "Python inserta un módulo ``__main__`` vacío en :data :`sys.modules` al inicio "
487
479
"del intérprete, y lo puebla ejecutando código de máximo nivel. En nuestro "
488
480
"ejemplo este es el módulo ``start`` que corre línea a línea e importa "
489
481
"``namely``. A su vez, ``namely`` importa ``__main__`` (que es en verdad "
490
482
"``start``). ¡Es un ciclo de importado! Afortunadamente, como el módulo "
491
- "parcialmente poblado ``__main__`` está presente en :attr :`sys.modules`, "
483
+ "parcialmente poblado ``__main__`` está presente en :data :`sys.modules`, "
492
484
"Python pasa eso a ``namely``. Ver :ref:`Special considerations for __main__ "
493
485
"<import-dunder-main>` en la referencia del sistema para información "
494
486
"detallada de como funciona."
0 commit comments