parameters: (self, tokensource, outfile)
return_statement: return self.format_unencoded(tokensource, outfile)
docstring: Format ``tokensource``, an iterable of ``(tokentype, tokenstring)``
          tuples and write it into ``outfile``.
docstring_summary: Format ``tokensource``, an iterable of ``(tokentype, tokenstring)``
          tuples and write it into ``outfile``.
docstring_tokens: Format tokensource an iterable of ( tokentype tokenstring ) tuples and write it into outfile .
function: def format(self, tokensource, outfile):
          """
          Format ``tokensource``, an iterable of ``(tokentype, tokenstring)``
          tuples and write it into ``outfile``.
          """
          if self.encoding:
              # wrap the outfile in a StreamWriter
              outfile = codecs.lookup(self.encoding)[3](outfile)
          return self.format_unencoded(tokensource, outfile)
function_tokens: def format ( self , tokensource , outfile ) : if self . encoding : # wrap the outfile in a StreamWriter outfile = codecs . lookup ( self . encoding ) [ 3 ] ( outfile ) return self . format_unencoded ( tokensource , outfile )