MCPcopy Index your code
hub / github.com/python/cpython / copy

Method copy

Lib/http/cookies.py:328–332  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

326 __ne__ = object.__ne__
327
328 def copy(self):
329 morsel = Morsel()
330 dict.update(morsel, self)
331 morsel.__dict__.update(self.__dict__)
332 return morsel
333
334 def update(self, values):
335 data = {}

Callers 3

test_copyMethod · 0.95
set_tunnelMethod · 0.45
__init__Method · 0.45

Calls 2

MorselClass · 0.85
updateMethod · 0.45

Tested by 1

test_copyMethod · 0.76