MCPcopy
hub / github.com/urllib3/urllib3 / copy

Method copy

src/urllib3/_collections.py:433–436  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

431 self._container[key.lower()] = [key, *val]
432
433 def copy(self) -> Self:
434 clone = type(self)()
435 clone._copy_from(self)
436 return clone
437
438 def iteritems(self) -> typing.Iterator[tuple[str, str]]:
439 """Iterate over all header lines, including duplicate ones."""

Callers 14

__or__Method · 0.95
test_proxy_headersMethod · 0.80
test_header_repeatMethod · 0.80
test_copyMethod · 0.80
test_https.pyFile · 0.80
_default_key_normalizerFunction · 0.80
__init__Method · 0.80
_new_poolMethod · 0.80
_merge_pool_kwargsMethod · 0.80

Calls 1

_copy_fromMethod · 0.80