[New-bugs-announce] [issue28049] Add documentation for typing.Awaitable and friends

Michael Lee report at bugs.python.org
Fri Sep 9 14:40:51 EDT 2016


New submission from Michael Lee:

This patch adds documentation for Awaitable, AsyncIterable, and AsyncIterator to the typing module, mostly linking to the corresponding class in collections.abc.

It also briefly clarifies the documentation on generators to explain that you may use either Iterable or Iterator as the return type of a generator.

----------
assignee: docs at python
components: Documentation
files: document-awaitable.patch
keywords: patch
messages: 275379
nosy: docs at python, gvanrossum, michael0x2a
priority: normal
severity: normal
status: open
title: Add documentation for typing.Awaitable and friends
versions: Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file44507/document-awaitable.patch

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


More information about the New-bugs-announce mailing list