MCPcopy Create free account
hub / github.com/gawel/pyquery / clone

Method clone

pyquery/pyquery.py:1448–1451  ·  view source on GitHub ↗

return a copy of nodes

(self)

Source from the content-addressed store, hash-verified

1446 return self
1447
1448 def clone(self):
1449 """return a copy of nodes
1450 """
1451 return PyQuery([deepcopy(tag) for tag in self])
1452
1453 def empty(self):
1454 """remove nodes content

Callers

nothing calls this directly

Calls 1

PyQueryClass · 0.85

Tested by

no test coverage detected