Added a few more methods. I think we're going to have to make Group.__getattr__ return the Value holder, not its .value attribute.

This commit is contained in:
Jeremy Fincher 2004-01-15 12:17:50 +00:00
parent d283985405
commit da0cf9b921

View File

@ -75,6 +75,15 @@ class Value(object):
def get(self):
return self.value
def default(self):
return self.default
def reset(self):
self.value = self.default
def help(self):
return self.help
def __str__(self):
return repr(self.value)