findComponent ( context, default=NOT_GIVEN )
Look self up in context , return default or raise NameNotFound
context is an arbitrary component, to be used as the starting point
for the search. default is a value to be returned if the key cannot
be found. If default is NOT_GIVEN , and the key cannot be found,
this method should raise exceptions.NameNotFound instead of returning
a value.
|