default_multi method
This commit is contained in:
parent
eb7e393864
commit
e0bf9faf5c
|
@ -154,6 +154,10 @@ class Option(HiddenBaseType, DisabledBaseType):
|
||||||
"accessing the default value"
|
"accessing the default value"
|
||||||
return self.default
|
return self.default
|
||||||
|
|
||||||
|
def getdefault_multi(self):
|
||||||
|
"accessing the default value for a multi"
|
||||||
|
return self.default_multi
|
||||||
|
|
||||||
def is_empty_by_default(self):
|
def is_empty_by_default(self):
|
||||||
"no default value has been set yet"
|
"no default value has been set yet"
|
||||||
if ((not self.is_multi() and self.default == None) or
|
if ((not self.is_multi() and self.default == None) or
|
||||||
|
|
Loading…
Reference in New Issue