Commit da2191b4 authored by Brett Cannon's avatar Brett Cannon

Remove assert that checked if a parameter was an instance of Request. Closes patch #639139.

parent 9dce000b
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment