There was an error while loading. Please reload this page.
1 parent 338916d commit 2c82ca2Copy full SHA for 2c82ca2
1 file changed
Doc/library/asyncio-task.rst
@@ -245,8 +245,6 @@ Creating tasks
245
246
Wrap the *coro* :ref:`coroutine <coroutine>` into a :class:`Task`
247
and schedule its execution. Return the Task object.
248
- :exc:`TypeError` is raised if *coro* is not a coroutine declared with
249
- :keyword:`async def`.
250
251
The full function signature is largely the same as that of the
252
:class:`Task` constructor (or factory) - all of the keyword arguments to
0 commit comments