Le sam. 26 oct. 2019 à 13:15, Steve Jorgensen <[email protected]> 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/K4NKSJEAMCCVOA4QDVJVQKIUE5F5B2YN/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to