Skip to content

Instantly share code, notes, and snippets.

@pratikmallya
Created October 22, 2013 21:00
Show Gist options
  • Save pratikmallya/7108064 to your computer and use it in GitHub Desktop.
Save pratikmallya/7108064 to your computer and use it in GitHub Desktop.
from traits.api import Enum, HasTraits
class A(HasTraits):
v = Enum('these', 'three','values')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment