Package tdi :: Package tools :: Module template :: Class TemplateListProxy
[frames] | no frames]

Class TemplateListProxy

source code

object --+
         |
        TemplateListProxy

Proxy TemplateList instances for lazy creation
Instance Methods
 
__init__(self, creator, autoreload)
Initialization
source code
 
__getattr__(self, name) source code
 
__len__(self) source code
 
__repr__(self)
repr(x)
source code
 
__str__(self)
str(x)
source code
 
__add__(self, other) source code
 
__mul__(self, other) source code
 
__getitem__(self, index) source code
 
__contains__(self, item) source code
 
__hash__(self)
hash(x)
source code
 
__cmp__(self, other) source code
 
__iter__(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, creator, autoreload)
(Constructor)

source code 
Initialization
Parameters:
  • creator (callable) - List creator function
  • autoreload (bool) - Autoreload possible?
Overrides: object.__init__

__getattr__(self, name)
(Qualification operator)

source code 

__len__(self)
(Length operator)

source code 

__repr__(self)
(Representation operator)

source code 
repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
str(x)

Overrides: object.__str__
(inherited documentation)

__add__(self, other)
(Addition operator)

source code 

__mul__(self, other)

source code 

__getitem__(self, index)
(Indexing operator)

source code 

__contains__(self, item)
(In operator)

source code 

__hash__(self)
(Hashing function)

source code 
hash(x)

Overrides: object.__hash__
(inherited documentation)

__cmp__(self, other)
(Comparison operator)

source code 

__iter__(self)

source code