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

Public Member Functions

def __init__ (self, key, defining_class)
 
def __hash__ (self)
 
def __lt__ (self, other)
 
def __le__ (self, other)
 
def __gt__ (self, other)
 
def __ge__ (self, other)
 
def __eq__ (self, other)
 

Detailed Description

Provides comparison capabilities that is based on a key

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  key,
  defining_class 
)

Member Function Documentation

◆ __eq__()

def __eq__ (   self,
  other 
)

◆ __ge__()

def __ge__ (   self,
  other 
)

◆ __gt__()

def __gt__ (   self,
  other 
)

◆ __hash__()

def __hash__ (   self)

◆ __le__()

def __le__ (   self,
  other 
)

◆ __lt__()

def __lt__ (   self,
  other 
)

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