MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / copy

Method copy

projects/Python/proto/test.py:7403–7417  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

7401
7402 # Struct shallow copy
7403 def copy(self, other):
7404 super().copy(other)
7405 self.f1000 = other.f1000
7406 self.f1001 = other.f1001
7407 self.f1002 = other.f1002
7408 self.f1003 = other.f1003
7409 self.f1004 = other.f1004
7410 self.f1005 = other.f1005
7411 self.f1006 = other.f1006
7412 self.f1007 = other.f1007
7413 self.f1008 = other.f1008
7414 self.f1009 = other.f1009
7415 self.f1010 = other.f1010
7416 self.f1011 = other.f1011
7417 return self
7418
7419 # Struct deep clone
7420 def clone(self):

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected