def reset(self): MyParser.reset(self) self.local_set = set() # Set of local links self.remote_set = set() # Set of remote links