def attribute(attrib_type):
 def make_decorator(*args, **kwargs):
  return CustomAttributeDecorator(attrib_type, *args, **kwargs)
 return make_decorator

def attribute ( attrib_type ) : def make_decorator ( * args , ** kwargs ) : return CustomAttributeDecorator ( attrib_type , * args , ** kwargs ) return make_decorator
this decorator is used to specify a customattribute for a type or method .