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

Method copy

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

Source from the content-addressed store, hash-verified

12227
12228 # Struct shallow copy
12229 def copy(self, other):
12230 self.f1 = other.f1
12231 self.f2 = other.f2
12232 self.f3 = other.f3
12233 self.f4 = other.f4
12234 return self
12235
12236 # Struct deep clone
12237 def clone(self):

Callers 4

__init__Method · 0.45
copyMethod · 0.45
__init__Method · 0.45
copyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected