<s> from traits . api import HasTraits , Int , Str <EOL> from traitsui . api import Group , Include , View <EOL> class Person ( HasTraits ) : <EOL> name = Str <EOL> age = Int <EOL> person_view = View ( '<STR_LIT:name>' , Include ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> class LocatedPerson ( Person ) : <EOL> street = Str <EOL> city = Str <EOL> state = Str <EOL> zip = Str <EOL> extra = Group ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:state>' , '<STR_LIT>' ) <EOL> Person ( ) . configure_traits ( ) <EOL> LocatedPerson ( ) . configure_traits ( ) </s>
