enthought/traitsui — comment on commit a44361092424d752e1a494fc207f6a6639cad4cd
File: traitsui/editor.py line 135
By sccolbert:

Ah good catch. I actually meant 'type' and not 'trait_type':

In [10]: class Foo(HasTraits):
....: a = Event
....:

In [11]: f = Foo()

In [12]: f.trait('a').type
Out[12]: 'event'