parameters: (output_dir)
return_statement: return qqq_file
docstring: Creates a qqq.json file with message documentation for translatewiki.net.
  
      The file consists of key-value pairs, where the keys are message ids and
      the values are descriptions for the translators of the messages.
      What documentation exists for the format can be found at:
      http://translatewiki.net/wiki/Translating:Localisation_for_developers#Message_documentation
  
      The file should be closed by _close_qqq_file().
  
      Parameters:
          output_dir: The output directory.
  
      Returns:
          A pointer to a file to which a left brace and newline have been written.
  
      Raises:
          IOError: An error occurred while opening or writing the file.
docstring_summary: Creates a qqq.json file with message documentation for translatewiki.net.
docstring_tokens: Creates a qqq . json file with message documentation for translatewiki . net .
function: def _create_qqq_file(output_dir):
      """Creates a qqq.json file with message documentation for translatewiki.net.
  
      The file consists of key-value pairs, where the keys are message ids and
      the values are descriptions for the translators of the messages.
      What documentation exists for the format can be found at:
      http://translatewiki.net/wiki/Translating:Localisation_for_developers#Message_documentation
  
      The file should be closed by _close_qqq_file().
  
      Parameters:
          output_dir: The output directory.
  
      Returns:
          A pointer to a file to which a left brace and newline have been written.
  
      Raises:
          IOError: An error occurred while opening or writing the file.
      """
      qqq_file_name = os.path.join(os.curdir, output_dir, 'qqq.json')
      qqq_file = codecs.open(qqq_file_name, 'w', 'utf-8')
      print 'Created file: ' + qqq_file_name
      qqq_file.write('{\n')
      return qqq_file
function_tokens: def _create_qqq_file ( output_dir ) : qqq_file_name = os . path . join ( os . curdir , output_dir , 'qqq.json' ) qqq_file = codecs . open ( qqq_file_name , 'w' , 'utf-8' ) print 'Created file: ' + qqq_file_name qqq_file . write ( '{\n' ) return qqq_file