parameters: (self)
return_statement: return self.config
docstring: Load the config from a file and return it as a Config object.
docstring_summary: Load the config from a file and return it as a Config object.
docstring_tokens: Load the config from a file and return it as a Config object .
function: def load_config(self):
          """Load the config from a file and return it as a Config object."""
          self.clear()
          try:
              self._find_file()
          except IOError as e:
              raise ConfigFileNotFound(str(e))
          self._read_file_as_dict()
          return self.config
function_tokens: def load_config ( self ) : self . clear ( ) try : self . _find_file ( ) except IOError as e : raise ConfigFileNotFound ( str ( e ) ) self . _read_file_as_dict ( ) return self . config