Change by Luis E. :
--
components: -Documentation
___
Python tracker
<https://bugs.python.org/issue40025>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Luis E. :
I ran into this issue when attempting to add a custom _generate_next_value_
method to an existing Enum. Adding the method definition to the bottom of the
class causes it to not be called at all:
from enum import Enum, auto
class E(Enum):
A = auto
New submission from Luis E. :
The documentation for asyncio.run
(https://docs.python.org/3/library/asyncio-task.html#asyncio.run) does not
mention the function's return value or lack of one.
Looking at the source, its clear it returns the passed coroutine's value via
loop.run_unti