Table of Contents

Module: interfaces ./src/protocols/interfaces.py

Implement Interfaces and define the interfaces used by the package

Imported modules   
from __future__ import generators
from adapters import composeAdapters, updateWithSimplestAdapter, NO_ADAPTER_NEEDED, DOES_NOT_SUPPORT
from advice import metamethod, classicMRO, mkRef
import api
from types import InstanceType
Classes   

AbstractBase

Base class for a protocol that's a class

AbstractBaseMeta

Metaclass for AbstractBase - a protocol that's also a class

Attribute

Attribute declaration; should we get rid of this?

IAdapterFactory

Callable that can adapt an object to a protocol

IAdaptingProtocol

A protocol that potentially knows how to adapt some object to itself

IConformingObject

An object that potentially knows how to adapt to a protocol

IImplicationListener

IOpenImplementor

Object/type that can be told how its instances adapt to protocols

IOpenProtocol

A protocol that be told what it implies, and what supports it

IOpenProvider

An object that can be told how to adapt to protocols

IProtocol

Object usable as a protocol by 'adapt()

Interface

InterfaceClass

Metaclass for Interface - a non-instantiable protocol

Protocol

Generic protocol w/type-based adapter registry

Variation

A variation of a base protocol - "inherits" the base's adapters


Table of Contents

This document was automatically generated on Mon Dec 16 01:11:12 2024 by HappyDoc version 2.1