Skip to content

Commit

Permalink
Remove assert that checked if a parameter was an instance of Request.…
Browse files Browse the repository at this point in the history
… Closes patch #639139.
  • Loading branch information
brettcannon committed May 12, 2003
1 parent 86503b1 commit 24b2bc3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Lib/urllib2.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ def open(self, fullurl, data=None):
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)
Expand Down

0 comments on commit 24b2bc3

Please sign in to comment.