def close(self):
        _urllib2_fork.OpenerDirector.close(self)

        # make it very obvious this object is no longer supposed to be used
        self.open = self.error = self.retrieve = self.add_handler = None

        if self._tempfiles:
            for filename in self._tempfiles:
                try:
                    os.unlink(filename)
                except __HOLE__:
                    pass
            del self._tempfiles[:]
dataset/ETHPy150Open Masood-M/yalih/mechanize/_opener.py/OpenerDirector.close