From: Yury Selivanov Date: Thu, 10 Sep 2015 22:59:42 +0000 (-0400) Subject: whatsnew/3.5: Clarify types.coroutine & types.CoroutineType X-Git-Tag: v3.5.1rc1~391 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c73e69ec5fb342414489f98e825c74c354327dc;p=python whatsnew/3.5: Clarify types.coroutine & types.CoroutineType --- diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index a3721224d8..40598011c4 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -1380,11 +1380,15 @@ now support negative values for the *limit* argument. types ----- -New :func:`~types.coroutine` function. (Contributed by Yury Selivanov -in :issue:`24017`.) - -New :class:`~types.CoroutineType`. (Contributed by Yury Selivanov -in :issue:`24400`.) +A new :func:`~types.coroutine` function to transform +:term:`generator ` and +:class:`generator-like ` objects into +:term:`awaitables `. +(Contributed by Yury Selivanov in :issue:`24017`.) + +A new :class:`~types.CoroutineType` is the type of :term:`coroutine` objects, +produced by calling a function defined with an :keyword:`async def` statement. +(Contributed by Yury Selivanov in :issue:`24400`.) urllib