PyDocs

Nav

Python Runtime Services

object.__await__

builtins

method of object
  • object.__await__(self)
Must return an iterator. Should be used to implement awaitable objects. For instance, asyncio.Future implements this method to be compatible with the await expression. The object class itself is not awaitable and does not provide this method.
0 Examples
No examples for builtins/object.__await__.
See Also
No see-alsos for builtins/object.__await__
0 Notes
No notes for object.__await__