def paranoid_urlparser_method(check):
 def check_wrapper(parser, *args, **kwargs):
  return UrlParser.perform_paranoid_check(parser, check, *args, **kwargs)
 return check_wrapper

def paranoid_urlparser_method ( check ) : def check_wrapper ( parser , * args , ** kwargs ) : return UrlParser . perform_paranoid_check ( parser , check , * args , ** kwargs ) return check_wrapper
decorator for checks on urlparser instances that need to be paranoid .