def make_response(*args):
 if (not args):
  return current_app.response_class()
 if (len(args) == 1):
  args = args[0]
 return current_app.make_response(args)

def make_response ( * args ) : if ( not args ) : return current_app . response_class ( ) if ( len ( args ) == 1 ) : args = args [ 0 ] return current_app . make_response ( args )
convenient factory for objects implementing response interface .