diff options
author | Brett Cannon <bcannon@gmail.com> | 2003-05-12 07:31:53 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2003-05-12 07:31:53 (GMT) |
commit | 24b2bc365467218ee719f6155d04b1f2962742c1 (patch) | |
tree | c0a4361202ca72dbb7ac7863b8dc21bf8605d5fc /Lib/urllib2.py | |
parent | 86503b131b2253c73f8e2f1fceb29c9cf761dc27 (diff) | |
download | cpython-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.py | 1 |
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) |