File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444# -----------------------
4545
4646# Use our custom theme.
47- html_theme = 'pydoctheme '
47+ html_theme = 'classic '
4848html_theme_path = ['tools' ]
4949html_theme_options = {'collapsiblesidebar' : True }
5050
Original file line number Diff line number Diff line change @@ -161,6 +161,12 @@ ABC Inherits from Abstract Methods Mixin
161161 :term: `Coroutine ` objects and instances of the
162162 :class: `~collections.abc.Coroutine ` ABC are all instances of this ABC.
163163
164+ .. note ::
165+ In CPython, generator-based coroutines are *awaitables *, even though
166+ they do not have an :meth: `__await__ ` method. This ABC
167+ implements an :meth: `~class.__instancecheck__ ` method to make them
168+ instances of itself.
169+
164170 .. versionadded :: 3.5
165171
166172.. class :: Coroutine
@@ -172,6 +178,12 @@ ABC Inherits from Abstract Methods Mixin
172178 :meth: `__await__ `. All :class: `Coroutine ` instances are also instances of
173179 :class: `Awaitable `. See also the definition of :term: `coroutine `.
174180
181+ .. note ::
182+ In CPython, generator-based coroutines are *awaitables * and *coroutines *,
183+ even though they do not have an :meth: `__await__ ` method. This ABC
184+ implements an :meth: `~class.__instancecheck__ ` method to make them
185+ instances of itself.
186+
175187 .. versionadded :: 3.5
176188
177189.. class :: AsyncIterable
You can’t perform that action at this time.
0 commit comments