parameters: (self)
return_statement: return authority['port']
docstring: If present, the port extracted from the authority.
docstring_summary: If present, the port extracted from the authority.
docstring_tokens: If present the port extracted from the authority .
function: def port(self):
          """If present, the port extracted from the authority."""
          try:
              authority = self.authority_info()
          except exc.InvalidAuthority:
              return None
          return authority['port']
function_tokens: def port ( self ) : try : authority = self . authority_info ( ) except exc . InvalidAuthority : return None return authority [ 'port' ]