      [os.remove(path) for path in list_dir_sorted_by_ctime(dir)[max_files:]]
  
  
  class HTMLRenderer(BaseRenderer):
      """Basic renderer which just returns the content without any further serialization."""
      media_type = 'text/html'
  
  
  class PygmentsRoot(Resource):
      """This example demonstrates a simple RESTful Web API aound the awesome pygments library.
 
</s> remove class PygmentsRoot(Resource):
    """This example demonstrates a simple RESTful Web API aound the awesome pygments library.
    This top level resource is used to create highlighted code snippets, and to list all the existing code snippets."""
 </s> add class PygmentsFormResource(FormResource):
    """
    """ </s> remove     """Remove the oldest files in a directory 'dir', leaving at most 'max_files' remaining.
    We use this to limit the number of resources in the sandbox."""
 </s> add     """
    Remove the oldest files in a directory 'dir', leaving at most 'max_files' remaining.
    We use this to limit the number of resources in the sandbox.
    """ </s> remove     return [item[0] for item in sorted([(path, os.path.getctime(path)) for path in filepaths],
                                                     key=operator.itemgetter(1), reverse=False)]
 </s> add     return [item[0] for item in sorted( [(path, os.path.getctime(path)) for path in filepaths],
                                        key=operator.itemgetter(1), reverse=False) ]
 </s> remove class ObjectStoreRoot(Resource):
    """Root of the Object Store API.
    Allows the client to get a complete list of all the stored objects, or to create a new stored object."""
    allowed_methods = anon_allowed_methods = ('GET', 'POST')
 </s> add class ObjectStoreRoot(BaseView):
    """
    Root of the Object Store API.
    Allows the client to get a complete list of all the stored objects, or to create a new stored object.
    """
    """
    Basic renderer which just returns the content without any further serialization.
    """
      [os.remove(path) for path in list_dir_sorted_by_ctime(dir)[max_files:]]
  
  
  class HTMLRenderer(BaseRenderer):
    """
    Basic renderer which just returns the content without any further serialization.
    """
      media_type = 'text/html'
  
  
  class PygmentsRoot(Resource):
      """This example demonstrates a simple RESTful Web API aound the awesome pygments library.
keep keep keep keep replace keep keep keep keep keep
 Fixing some of the last blocking issues 
examples/pygments_api/views.py