Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_copy
Method · 0.95
set_tunnel
Method · 0.45
__init__
Method · 0.45
Calls
2
Morsel
Class · 0.85
update
Method · 0.45
Tested by
1
test_copy
Method · 0.76