def check_anyuri(uri, config=None, pos=None):
 if ((uri is not None) and (not xml_check.check_anyuri(uri))):
  warn_or_raise(W05, W05, uri, config, pos)
  return False
 return True

def check_anyuri ( uri , config = None , pos = None ) : if ( ( uri is not None ) and ( not xml_check . check_anyuri ( uri ) ) ) : warn_or_raise ( W05 , W05 , uri , config , pos ) return False return True
raises a ~astropy .