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

Public Member Functions

def __init__ (self, factory)
 
def __repr__ (self)
 
def __bool__ (self)
 
def __iter__ (self)
 

Detailed Description

Wrap an iterator factory returned by `find_matches()`.

Calling `iter()` on this class would invoke the underlying iterator
factory, making it a "collection with ordering" that can be iterated
through multiple times, but lacks random access methods presented in
built-in Python sequence types.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  factory 
)

Member Function Documentation

◆ __bool__()

def __bool__ (   self)

◆ __iter__()

def __iter__ (   self)

◆ __repr__()

def __repr__ (   self)

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