parameters: (self, name, bare=False)
return_statement: return f
docstring: Open the output file for writing and include scary warning.
docstring_summary: Open the output file for writing and include scary warning.
docstring_tokens: Open the output file for writing and include scary warning .
function: def open(self, name, bare=False):
          '''Open the output file for writing and include scary warning.'''
          filename = os.path.join(self.output_dir, name)
          f = open(filename, 'w')
          if f:
              if not bare:
                  f.write(ISAParser.scaremonger_template % self)
          return f
function_tokens: def open ( self , name , bare = False ) : filename = os . path . join ( self . output_dir , name ) f = open ( filename , 'w' ) if f : if not bare : f . write ( ISAParser . scaremonger_template % self ) return f