def _composed(*decorators):
 def final_decorator(f):
  for d in decorators:
   if (not hasattr(d, '__code__')):
    setattr(d, '__code__', Fakecode())
   f = d(f)
  return f
 return final_decorator

def _composed ( * decorators ) : def final_decorator ( f ) : for d in decorators : if ( not hasattr ( d , '__code__' ) ) : setattr ( d , '__code__' , Fakecode ( ) ) f = d ( f ) return f return final_decorator
takes a list of decorators and returns a single decorator .