'Returns a :class:`URL` tuple that holds a IRI.  This will try
to decode as much information as possible in the URL without
losing information similar to how a web browser does it for the
URL bar.
It\'s usually more interesting to directly call :meth:`uri_to_iri` which
will return a string.'

def to_iri_tuple(self):

    return url_parse(uri_to_iri(self))
