Package moul :: Package file :: Module wdysini :: Class Constrain
[hide private]
[frames] | no frames]

Class Constrain



object --+
         |
        Constrain
Known Subclasses:
Contains, MinMax

Constrain for configuration values

Constrain() is a NOOP >>> c = Constrain('foo', False, object) >>> c('dummy', debug="name") 'dummy'

Instance Methods [hide private]
  __init__(self, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __call__(self, value, debug="unknown")

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


Class Variables [hide private]
  __slots__ = ()

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

__call__(self, value, debug="unknown")
(Call operator)

 
None

Class Variable Details [hide private]

__slots__

None
Value:
()