Le sam. 26 oct. 2019 à 13:15, Steve Jorgensen <ste...@stevej.name> a écrit :

> What if, for a particular `Enum`, I would like to be able to use `()` as a
> shorthand for `auto()`? How about a more complex auto-generation that
> determines the final value based on both the given value and the name/key
>

What if I want to set my enum item to an empty tuple?
-- 
Antoine Rozo
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/K4NKSJEAMCCVOA4QDVJVQKIUE5F5B2YN/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to