MCPcopy
hub / github.com/urllib3/urllib3 / close

Method close

src/urllib3/connectionpool.py:110–113  ·  view source on GitHub ↗

Close all pooled connections and disable the pool.

(self)

Source from the content-addressed store, hash-verified

108 return False
109
110 def close(self) -> None:
111 """
112 Close all pooled connections and disable the pool.
113 """
114
115
116# This is taken from http://hg.python.org/cpython/file/7aaba721ebc0/Lib/socket.py#l252

Callers 5

__exit__Method · 0.95
_get_connMethod · 0.45
_put_connMethod · 0.45
urlopenMethod · 0.45
_close_pool_connectionsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected