(self)
return authority['port']
If present, the port extracted from the authority.
If present, the port extracted from the authority.
If present the port extracted from the authority .
def port(self):
        """If present, the port extracted from the authority."""
        try:
            authority = self.authority_info()
        except exc.InvalidAuthority:
            return None
        return authority['port']
def port ( self ) : try : authority = self . authority_info ( ) except exc . InvalidAuthority : return None return authority [ 'port' ]