MCPcopy
hub / github.com/scrapy/scrapy / deepcopy

Method deepcopy

scrapy/item.py:130–132  ·  view source on GitHub ↗

Return a :func:`~copy.deepcopy` of this item.

(self)

Source from the content-addressed store, hash-verified

128 return self.__class__(self)
129
130 def deepcopy(self) -> Self:
131 """Return a :func:`~copy.deepcopy` of this item."""
132 return deepcopy(self)

Callers 4

__init__Method · 0.80
getdictorlistMethod · 0.80
copyMethod · 0.80
test_deepcopyMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_deepcopyMethod · 0.64