#NEWLINE# def convert_anyURI( inpt ) : #NEWLINE# #INDENT# 'Return value of input\n    \n    :rtype: url components \n    ' #NEWLINE# inpt = convert_string ( inpt ) #NEWLINE# components = urlparse . urlparse ( inpt ) #NEWLINE# if ( inpt [ 0 ] and components [ 1 ] ) : #NEWLINE# #INDENT# return components #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise InvalidParameterValue ( 'The value "{}" does not seem to be of type anyURI' . format ( inpt ) )