@classmethod<EOL><INDENT>def parse(cls, string, default_port=<NUM_LIT:0>):<DEDENT>
return cls.from_uri("<STR_LIT>".format(string), default_port)<EOL>
Parse a string address, such as 'localhost:1234' or
        '[::1]:7687'.