def _get_response_factory(registry):
 response_factory = registry.queryUtility(IResponseFactory, default=(lambda r: Response()))
 return response_factory

def _get_response_factory ( registry ) : response_factory = registry . queryUtility ( IResponseFactory , default = ( lambda r : Response ( ) ) ) return response_factory
obtain a :class: pyramid .