Package mrv :: Module util :: Class Or
[hide private]
[frames] | no frames]

Class Or

source code

object --+
         |
        Or

For use with python's filter method, simulates logical OR Usage: filter(Or(f1,f2,fn), sequence)
Instance Methods [hide private]
 
__call__(self, *args, **kwargs)
Called during filter function, return true if all functions return true
source code
 
__init__(self, *args)
args must contain the filter methods to be AND'ed
source code

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

Properties [hide private]
  functions

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args)
(Constructor)

source code 
args must contain the filter methods to be AND'ed
Overrides: object.__init__