@@ -11,7 +11,7 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.8\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"POT-Creation-Date : 2020-05-05 12:54+0200\n "
14
- "PO-Revision-Date : 2020-10-04 10:53 +0200\n "
14
+ "PO-Revision-Date : 2020-10-04 13:38 +0200\n "
15
15
"Language-Team : python-doc-es\n "
16
16
"MIME-Version : 1.0\n "
17
17
"Content-Type : text/plain; charset=UTF-8\n "
@@ -23,7 +23,6 @@ msgstr ""
23
23
"X-Generator : Poedit 2.4.1\n "
24
24
25
25
#: ../Doc/library/asyncio-future.rst:8
26
- #, fuzzy
27
26
msgid "Futures"
28
27
msgstr "Futures"
29
28
@@ -69,12 +68,11 @@ msgid "Return:"
69
68
msgstr "Devuelve:"
70
69
71
70
#: ../Doc/library/asyncio-future.rst:38
72
- #, fuzzy
73
71
msgid ""
74
72
"*obj* argument as is, if *obj* is a :class:`Future`, a :class:`Task`, or a "
75
73
"Future-like object (:func:`isfuture` is used for the test.)"
76
74
msgstr ""
77
- "el argument *obj* inalterado, si *obj* es una :class:`Future`, :class:"
75
+ "el argumento *obj* inalterado, si *obj* es una :class:`Future`, :class:"
78
76
"`Task`, o un objeto tipo Future (:func:`isfuture` se utiliza para testear)"
79
77
80
78
#: ../Doc/library/asyncio-future.rst:42
@@ -297,90 +295,126 @@ msgstr ""
297
295
"retrollamada (*callback*), por ejemplo::"
298
296
299
297
#: ../Doc/library/asyncio-future.rst:162
298
+ #, fuzzy
300
299
msgid ""
301
300
"The *context* keyword-only parameter was added. See :pep:`567` for more "
302
301
"details."
303
302
msgstr ""
303
+ "El parámetro de sólo clave-valor de contexto (*context*) fue añadido. Ver :"
304
+ "pep:`567` para más detalles."
304
305
305
306
#: ../Doc/library/asyncio-future.rst:168
306
307
msgid "Remove *callback* from the callbacks list."
307
- msgstr ""
308
+ msgstr "Elimina la retrollamada (*callback*) de la lista de retrollamadas. "
308
309
309
310
#: ../Doc/library/asyncio-future.rst:170
310
311
msgid ""
311
312
"Returns the number of callbacks removed, which is typically 1, unless a "
312
313
"callback was added more than once."
313
314
msgstr ""
315
+ "Devuelve el número de retrollamadas eliminadas, que normalmente es 1, "
316
+ "excepto si una retrollamada fue añadida más de una vez."
314
317
315
318
#: ../Doc/library/asyncio-future.rst:175
316
319
msgid "Cancel the Future and schedule callbacks."
317
- msgstr ""
320
+ msgstr "Cancela el Future y programa retrollamadas. "
318
321
319
322
#: ../Doc/library/asyncio-future.rst:177
323
+ #, fuzzy
320
324
msgid ""
321
325
"If the Future is already *done* or *cancelled*, return ``False``. Otherwise, "
322
326
"change the Future's state to *cancelled*, schedule the callbacks, and return "
323
327
"``True``."
324
328
msgstr ""
329
+ "Si el Future ya está *done* o *cancelled*, devuelve ``False``. De lo "
330
+ "contrario, cambia el estado del Future a *cancelled*, programa las "
331
+ "retrollamadas, y devuelve ``True``."
325
332
326
333
#: ../Doc/library/asyncio-future.rst:183
327
334
msgid "Return the exception that was set on this Future."
328
- msgstr ""
335
+ msgstr "Devuelve la excepción definida en este Future. "
329
336
330
337
#: ../Doc/library/asyncio-future.rst:185
338
+ #, fuzzy
331
339
msgid ""
332
340
"The exception (or ``None`` if no exception was set) is returned only if the "
333
341
"Future is *done*."
334
342
msgstr ""
343
+ "La excepción (o ``None`` si no se había establecido ninguna excepción) es "
344
+ "devuelta sólo si Future es *done*."
335
345
336
346
#: ../Doc/library/asyncio-future.rst:191
347
+ #, fuzzy
337
348
msgid ""
338
349
"If the Future isn't *done* yet, this method raises an :exc:"
339
350
"`InvalidStateError` exception."
340
351
msgstr ""
352
+ "Si el Future todavía no es *done*, este método lanza una excepción :exc:"
353
+ "`InvalidStateError`."
341
354
342
355
#: ../Doc/library/asyncio-future.rst:196
356
+ #, fuzzy
343
357
msgid "Return the event loop the Future object is bound to."
344
358
msgstr ""
359
+ "Devuelve el bucle de eventos (*event loop*) al cual el objeto Future está "
360
+ "asociado."
345
361
346
362
#: ../Doc/library/asyncio-future.rst:203
347
363
msgid ""
348
364
"This example creates a Future object, creates and schedules an asynchronous "
349
365
"Task to set result for the Future, and waits until the Future has a result::"
350
366
msgstr ""
367
+ "Este ejemplo crea un objeto Future, crea y programa una Task asíncrona para "
368
+ "establecer el resultado para el Future, y espera hasta que el Future tenga "
369
+ "un resultado::"
351
370
352
371
#: ../Doc/library/asyncio-future.rst:238
353
372
msgid ""
354
373
"The Future object was designed to mimic :class:`concurrent.futures.Future`. "
355
374
"Key differences include:"
356
375
msgstr ""
376
+ "El objeto Future fue diseñado para imitar a :class:`concurrent.futures."
377
+ "Future`. Entre las principales diferencias están:"
357
378
358
379
#: ../Doc/library/asyncio-future.rst:241
380
+ #, fuzzy
359
381
msgid ""
360
382
"unlike asyncio Futures, :class:`concurrent.futures.Future` instances cannot "
361
383
"be awaited."
362
384
msgstr ""
385
+ "al contrario que Futures de *asyncio*, las instancias de :class:`concurrent."
386
+ "futures.Future` no son esperables (*await*)."
363
387
364
388
#: ../Doc/library/asyncio-future.rst:244
365
389
msgid ""
366
390
":meth:`asyncio.Future.result` and :meth:`asyncio.Future.exception` do not "
367
391
"accept the *timeout* argument."
368
392
msgstr ""
393
+ ":meth:`asyncio.Future.result` y :meth:`asyncio.Future.exception` no aceptan "
394
+ "el argumento *timeout*."
369
395
370
396
#: ../Doc/library/asyncio-future.rst:247
397
+ #, fuzzy
371
398
msgid ""
372
399
":meth:`asyncio.Future.result` and :meth:`asyncio.Future.exception` raise an :"
373
400
"exc:`InvalidStateError` exception when the Future is not *done*."
374
401
msgstr ""
402
+ ":meth:`asyncio.Future.result` and :meth:`asyncio.Future.exception` lanzan "
403
+ "una excepción :exc:`InvalidStateError` cuando el Future no es *done*."
375
404
376
405
#: ../Doc/library/asyncio-future.rst:251
377
406
msgid ""
378
407
"Callbacks registered with :meth:`asyncio.Future.add_done_callback` are not "
379
408
"called immediately. They are scheduled with :meth:`loop.call_soon` instead."
380
409
msgstr ""
410
+ "Las retrollamadas (*callbacks*) registradas con :meth:`asyncio.Future."
411
+ "add_done_callback` no son llamadas inmediatamente, sino que son programadas "
412
+ "con :meth:`loop.call_soon`."
381
413
382
414
#: ../Doc/library/asyncio-future.rst:255
383
415
msgid ""
384
416
"asyncio Future is not compatible with the :func:`concurrent.futures.wait` "
385
417
"and :func:`concurrent.futures.as_completed` functions."
386
418
msgstr ""
419
+ "*asyncio* Future no es compatible con las funciones :func:`concurrent."
420
+ "futures.wait` ni :func:`concurrent.futures.as_completed`."
0 commit comments