Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(1)  |  Derive(2)  |  Import(4)
Context adapter for Python lists. 

src/a/p/apptools-4.2.1/apptools/naming/adapter/list_context_adapter_factory.py   apptools(Download)
 
# Local imports.
from list_context_adapter import ListContextAdapter
 
 
    def _adapt(self, adaptee, target_class, environment, context):
        """ Returns an adapter that adapts an object to the target class. """
 
        adapter = ListContextAdapter(
            adaptee     = adaptee,

src/a/p/apptools-4.2.1/apptools/naming/adapter/tuple_context_adapter.py   apptools(Download)
 
# Local imports.
from list_context_adapter import ListContextAdapter
 
 
class TupleContextAdapter(ListContextAdapter):

src/a/p/apptools-4.2.1/apptools/naming/adapter/trait_list_context_adapter.py   apptools(Download)
 
# Local imports.
from list_context_adapter import ListContextAdapter
 
 
class TraitListContextAdapter(ListContextAdapter):

src/a/p/apptools-4.2.1/apptools/naming/adapter/api.py   apptools(Download)
from dict_context_adapter import DictContextAdapter
from dict_context_adapter_factory import DictContextAdapterFactory
from instance_context_adapter import InstanceContextAdapter
from instance_context_adapter_factory import InstanceContextAdapterFactory
from list_context_adapter import ListContextAdapter