예제 #1
0
 def __init__(self, rank=1, doc=None, blurb=None):
     Prop.__init__(self, doc=doc, blurb=blurb, coerce=coerce_array(rank))
     self.rank = rank
예제 #2
0
 def __init__(self,length,default=None,types=None, blurb=None,doc=None):
     self.length = length
     self.default = default or tuple([None for i in range(length)])
     Prop.__init__(default=default,types=types,blurb=blurb,doc=doc)
예제 #3
0
 def __init__(self, rank=1, doc=None, blurb=None):
     Prop.__init__(self, doc=doc, blurb=blurb)
     self.rank = rank