<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def filter_renderers(self, renderers, format):
 """ If there is a '.json' style format suffix, filter the renderers so that we only negotiation against those that accept that format. """

        renderers = [renderer for renderer in renderers
                     if renderer.format == format]
        if not renderers:
            raise Http404
        return renderers