diff --git a/docs/guide/coroutines.rst b/docs/guide/coroutines.rst index 1d5fecc5..9c5745dc 100644 --- a/docs/guide/coroutines.rst +++ b/docs/guide/coroutines.rst @@ -33,6 +33,8 @@ Example:: # instead. return response.body +.. _native_coroutines: + Python 3.5: ``async`` and ``await`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/releases/next.rst b/docs/releases/next.rst index 70655412..a2f6f0af 100644 --- a/docs/releases/next.rst +++ b/docs/releases/next.rst @@ -13,7 +13,8 @@ Highlights ``yield`` to wait on an asynchronous operation. Coroutines defined with async/await will be faster than those defined with ``@gen.coroutine`` and ``yield``, but do not support some features including `.Callback`/`.Wait` or - the ability to yield a Twisted ``Deferred``. + the ability to yield a Twisted ``Deferred``. See :ref:`the users' + guide ` for more. * The async/await keywords are also available when compiling with Cython in older versions of Python. @@ -144,7 +145,7 @@ Installation `tornado.queues` ~~~~~~~~~~~~~~~~ -* `.Queue` now supports the ``async with`` statement on Python 3.5. +* `.Queue` now supports the ``async for`` statement on Python 3.5. `tornado.simple_httpclient` ~~~~~~~~~~~~~~~~~~~~~~~~~~~