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