MCPcopy Create free account
hub / github.com/battlecode/battlecode-2018 / eq

Method eq

bindings/frankenswig/struct.py:103–104  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101 self.method(self.type, "clone", [], docs=f"Deep-copy a {self.type.to_python()}", self_ref=True)
102
103 def eq(self):
104 self.method(boolean.type, "eq", [Var(self.type.ref(), "other")], docs=f"Compare two {self.type.to_python()}s for deep equality.", pyname="__eq__", self_ref=True)
105
106class StructWrapper(DeriveMixins):
107 def __init__(self, program, name, docs='', module=None):

Callers 1

generate.pyFile · 0.80

Calls 4

VarClass · 0.85
methodMethod · 0.45
refMethod · 0.45
to_pythonMethod · 0.45

Tested by

no test coverage detected