mirror of https://github.com/scrapy/scrapy.git
Remove unnecesary del statement
This commit is contained in:
parent
3bea5e1a97
commit
2f61d7cc03
|
|
@ -70,8 +70,6 @@ class H2ConnectionPool:
|
|||
d = pending_requests.popleft()
|
||||
d.callback(conn)
|
||||
|
||||
del pending_requests
|
||||
|
||||
return conn
|
||||
|
||||
def _remove_connection(self, errors: List[BaseException], key: Tuple) -> None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue