OpenQuizz
Une application de gestion des contenus pédagogiques
BoundMethodDispatcher Class Reference
Inheritance diagram for BoundMethodDispatcher:
Collaboration diagram for BoundMethodDispatcher:

Public Member Functions

def __init__ (self, instance, dispatcher)
 
def __getitem__ (self, key)
 
def get (self, key, default)
 
def __iter__ (self)
 
def __len__ (self)
 
def __contains__ (self, key)
 

Data Fields

 instance
 
 dispatcher
 

Detailed Description

Wraps a MethodDispatcher, binding its return values to `instance`

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  instance,
  dispatcher 
)

Member Function Documentation

◆ __contains__()

def __contains__ (   self,
  key 
)

◆ __getitem__()

def __getitem__ (   self,
  key 
)

◆ __iter__()

def __iter__ (   self)

◆ __len__()

def __len__ (   self)

◆ get()

def get (   self,
  key,
  default 
)

Field Documentation

◆ dispatcher

dispatcher

◆ instance

instance

The documentation for this class was generated from the following file: