#NEWLINE# def __call__( self , * args_call , **kwargs_call ) : #NEWLINE# #INDENT# def decorated( view_function ) : #NEWLINE# #INDENT# @ wraps ( view_function , assigned = available_attrs ( view_function ) ) #NEWLINE# def catcher( * args_func , **kwargs_func ) : #NEWLINE# #INDENT# return self . handle ( view_function , args_func , kwargs_func , self . _args_dec , self . _kwargs_dec ) #NEWLINE# #UNINDENT# return catcher #NEWLINE# #UNINDENT# if ( len ( args_call ) and hasattr ( args_call [ 0 ] , '__call__' ) ) : #NEWLINE# #INDENT# return decorated ( kwargs_call [ 0 ] ) #NEWLINE# #UNINDENT# if ( len ( self . _args_dec ) and hasattr ( self . _args_dec [ 0 ] , '__call__' ) ) : #NEWLINE# #INDENT# return decorated ( self . _args_dec [ 0 ] ) ( * args_call , ** kwargs_call ) #NEWLINE# #UNINDENT# return decorated