#NEWLINE# def create_renderer( self , context , renderer_settings , diff_file , * args , **kwargs ) : #NEWLINE# #INDENT# "Creates the renderer for the diff.\n\n        This calculates all the state and data needed for rendering, and\n        constructs a DiffRenderer with that data. That renderer is then\n        returned, ready for rendering.\n\n        If there's an error in looking up the necessary information, this\n        may raise a UserVisibleError (best case), or some other form of\n        Exception.\n        " #NEWLINE# return get_diff_renderer ( diff_file , extra_context = context , template_name = self . template_name , ** diff_file )