ksamdev/bsm_analyze — Issue #29: StatError is property
Author: ksamdev
Created: 2012-02-27 15:13:57+00:00
State: open

StatErorr should act either as a Property wrapper, e.g.:

@CustomStatError(10)
@property
def hist(self):
return self.__hist

@hist.setter
def hist(self, obj)
self.__hist = obj

or Property itself, e.g.:

@CustomStatError(10)
def hist(self):
return self.__hist

@hist.setter
def hist(self, obj)
self.__hist = obj