From 24b2bc365467218ee719f6155d04b1f2962742c1 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 12 May 2003 07:31:53 +0000 Subject: [PATCH] Remove assert that checked if a parameter was an instance of Request. Closes patch #639139. --- Lib/urllib2.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/urllib2.py b/Lib/urllib2.py index 57de99ca31b..923ba9c840b 100644 --- a/Lib/urllib2.py +++ b/Lib/urllib2.py @@ -319,7 +319,6 @@ class OpenerDirector: req = fullurl if data is not None: req.add_data(data) - assert isinstance(req, Request) # really only care about interface result = self._call_chain(self.handle_open, 'default', 'default_open', req)