1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
""" Context adapter for Python tuples. """
# Enthought library imports.
from enthought.traits.api import Tuple
# Local imports.
from list_context_adapter import ListContextAdapter
class TupleContextAdapter(ListContextAdapter):
""" Context adapter for Python tuples. """
#### 'ContextAdapter' interface ###########################################
# The object that we are adapting.
adaptee = Tuple
#### EOF ######################################################################
|