def generate_doc(handler_cls):
 if (not ((type(handler_cls) is ObjectHandlerMetaClass) or (type(handler_cls) is handler.HandlerMetaClass))):
  raise ValueError(('Give me handler, not %s' % type(handler_cls)))
 return HandlerDocumentation(handler_cls)

def generate_doc ( handler_cls ) : if ( not ( ( type ( handler_cls ) is ObjectHandlerMetaClass ) or ( type ( handler_cls ) is handler . HandlerMetaClass ) ) ) : raise ValueError ( ( 'Give me handler, not %s' % type ( handler_cls ) ) ) return HandlerDocumentation ( handler_cls )
returns a handlerdocumentation object for the given handler .