On 01/10/2017 12:37 AM, Chris Angelico wrote:
On Tue, Jan 10, 2017 at 7:33 PM, Paul Rubin wrote:

That is, a singleton enum?

Why stop there?  You can make empty ones too.  (Zerotons?)

Sure you *can*, but I can't think of any time they'd be useful. Can
you give an example?

Sure.  Any time you have some base behaviour you want shared amongst multiple 
Enum classes.  ;)

--
~Ethan~
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to