code.enthought.com - Traits A trait is a type definition that can be used for normal Python object attributes, giving the attributes some additional characteristics: * Initialization: A trait has a default value, which is automatically set as the initial value of an attribute before its first use in a program. * Validation: A trait attribute is manifestly typed. The type of a trait-based attribute is evident in the code, and only values that meet a programmer-specified set of criteria (i.e., the trait definition) can be assigned to that attribute. Note that the default value need not meet the criteria defined for assignment of values. * Delegation: The value of a trait attribute can be contained either in the defining object or in another object delegated to by the tra... By laughingboyin Public bookmarkswith goodlibrariespythontbu