parameters: (self, section, key, default=None)
docstring: Attempt to get a configuration value from a certain section
          in a ``cfg`` object but returning None if not found. Avoids the need
          to be doing try/except {ConfigParser Exceptions} every time.
docstring_summary: Attempt to get a configuration value from a certain section
          in a ``cfg`` object but returning None if not found. Avoids the need
          to be doing try/except {ConfigParser Exceptions} every time.
docstring_tokens: Attempt to get a configuration value from a certain section in a cfg object but returning None if not found . Avoids the need to be doing try / except { ConfigParser Exceptions } every time .
function: def get_safe(self, section, key, default=None):
          """
          Attempt to get a configuration value from a certain section
          in a ``cfg`` object but returning None if not found. Avoids the need
          to be doing try/except {ConfigParser Exceptions} every time.
          """
          self.is_valid()
          try:
              return self.get(section, key)
          except (configparser.NoSectionError, configparser.NoOptionError):
              return default
function_tokens: def get_safe ( self , section , key , default = None ) : self . is_valid ( ) try : return self . get ( section , key ) except ( configparser . NoSectionError , configparser . NoOptionError ) : return default