  
      def __init__(self, resource):
          self.resource = resource
  
      def emit(self, output=NoContent, verbose=False):
          """By default emit simply returns the ouput as-is.
          Override this method to provide for other behaviour."""
          if output is NoContent:
              return ''
          
 
</s> remove         if output is NoContent:
 </s> add         if output is None: </s> remove     def emit(self, output=NoContent, verbose=False):
        if output is NoContent:
 </s> add     def emit(self, output=None, verbose=False):
        if output is None: </s> remove     def emit(self, output=NoContent, verbose=False):
        if output is NoContent:
 </s> add     def emit(self, output=None, verbose=False):
        if output is None: </s> remove     def emit(self, output=NoContent, verbose=False):
        if output is NoContent:
 </s> add     def emit(self, output=None, verbose=False):
        if output is None: </s> remove         raise ResponseException(status.HTTP_500_INTERNAL_SERVER_ERROR,
 </s> add         raise ErrorResponse(status.HTTP_500_INTERNAL_SERVER_ERROR,
    def emit(self, output=None, verbose=False):
  
      def __init__(self, resource):
          self.resource = resource
  
    def emit(self, output=None, verbose=False):
          """By default emit simply returns the ouput as-is.
          Override this method to provide for other behaviour."""
          if output is NoContent:
              return ''
          
keep keep keep keep replace keep keep keep keep keep
 Rename mixins into Mixin class, rename ResponseException to ErrorResponse, remove NoContent 
djangorestframework/emitters.py