API Reference for Enthought Tool Suite 2.7.1

This class ensures that any public object attribute that does not have an explicit or wildcard trait definition results in an exception, but "private" attributes (whose names start with '_') have an initial value of None, and are not type-checked.

This feature is useful in cases where a class needs private attributes to keep track of its internal object state, which are not part of the class's public API. Such attributes do not need to be type-checked, because they are manipulated only by the (presumably correct) methods of the class itself.

Inherits from

Attributes

Inherited from base classes

Method summary

Inherited from base classes

Copyright © 2002-2008 Enthought, Inc.