(self)
return authority['host']
If present, a string representing the host.
If present, a string representing the host.
If present a string representing the host .
def host(self):
        """If present, a string representing the host."""
        try:
            authority = self.authority_info()
        except exc.InvalidAuthority:
            return None
        return authority['host']
def host ( self ) : try : authority = self . authority_info ( ) except exc . InvalidAuthority : return None return authority [ 'host' ]