[docs] [issue29407] Remove redundant ensure_future() calls in factorial example

Berker Peksag report at bugs.python.org
Tue Jan 31 20:09:07 EST 2017


New submission from Berker Peksag:

Unless I'm missing something, ensure_future() calls at https://docs.python.org/3.6/library/asyncio-task.html#example-parallel-execution-of-tasks are redundant and can be removed.

Off-topic: Can we use the async/await keywords in asyncio docs now?

----------
assignee: docs at python
components: Documentation, asyncio
files: ensure_future.diff
keywords: patch
messages: 286576
nosy: berker.peksag, docs at python, gvanrossum, yselivanov
priority: normal
severity: normal
stage: patch review
status: open
title: Remove redundant ensure_future() calls in factorial example
type: enhancement
versions: Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file46471/ensure_future.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29407>
_______________________________________


More information about the docs mailing list