On 05/26/2018 01:00 AM, Steven D'Aprano wrote:

I wish there was a simpler way to define symbols with identity but no
state or behaviour...

Check out the Constant class in aenum.  You still might want to customize the 
repr, though.

--
~Ethan~

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

Reply via email to