summaryrefslogtreecommitdiffstats
path: root/Lib/urllib2.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2003-05-12 07:31:53 (GMT)
committerBrett Cannon <bcannon@gmail.com>2003-05-12 07:31:53 (GMT)
commit24b2bc365467218ee719f6155d04b1f2962742c1 (patch)
treec0a4361202ca72dbb7ac7863b8dc21bf8605d5fc /Lib/urllib2.py
parent86503b131b2253c73f8e2f1fceb29c9cf761dc27 (diff)
downloadcpython-24b2bc365467218ee719f6155d04b1f2962742c1.zip
cpython-24b2bc365467218ee719f6155d04b1f2962742c1.tar.gz
cpython-24b2bc365467218ee719f6155d04b1f2962742c1.tar.bz2
Remove assert that checked if a parameter was an instance of Request. Closes patch #639139.
Diffstat (limited to 'Lib/urllib2.py')
-rw-r--r--Lib/urllib2.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/urllib2.py b/Lib/urllib2.py
index 57de99c..923ba9c 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)