mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Remove assert that checked if a parameter was an instance of Request. Closes patch #639139.
This commit is contained in:
parent
86503b131b
commit
24b2bc3654
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue