diff options
Diffstat (limited to 'Lib/idlelib/configHandler.py')
| -rw-r--r-- | Lib/idlelib/configHandler.py | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py index 7a282fb..b94b8f1 100644 --- a/Lib/idlelib/configHandler.py +++ b/Lib/idlelib/configHandler.py @@ -44,6 +44,9 @@ class IdleConfParser(ConfigParser):          Get an option value for given section/option or return default.          If type is specified, return as type.          """ +        # TODO Use default as fallback, at least if not None +        # Should also print Warning(file, section, option). +        # Currently may raise ValueError          if not self.has_option(section, option):              return default          if type == 'bool':  | 
