[PEAK] trellis attrs

nicky van foreest vanforeest at gmail.com
Sat Oct 1 14:26:02 EDT 2011


Thank you very much for your explanations.

> Please note that 'prevs' is *not* a "class variable".  It's a descriptor.
> That is, Step.prevs is a descriptor object, but someStep.prevs (where
> someStep is an instance of Step) will be a distinct trellis.Set() instance,
> unless overridden when created (e.g. via "someStep=Step(prevs=...)").

I never read about python descriptors before, and even didn't know
such a thing exists. Do you perhaps of one particular book/source that
can be of help in this direction?

Nicky


>


More information about the PEAK mailing list