parameters: (self,val)
docstring: Set non-default file extension
docstring_summary: Set non-default file extension
docstring_tokens: Set non - default file extension
function: def set_file_ext(self,val):
          """Set non-default file extension """
          if isinstance(val, str):
              if val[0] != '.':
                  value = '.' + val
              else:
                  value = val
              self._fext = value
          else:
              raise AttributeError('Source file extension can be only a string')
function_tokens: def set_file_ext ( self , val ) : if isinstance ( val , str ) : if val [ 0 ] != '.' : value = '.' + val else : value = val self . _fext = value else : raise AttributeError ( 'Source file extension can be only a string' )