MCPcopy Create free account
hub / github.com/ActiveState/code / _comp

Method _comp

recipes/Python/252125_Quantum_Superposition/recipe-252125.py:88–93  ·  view source on GitHub ↗
(self,other,op)

Source from the content-addressed store, hash-verified

86
87class All(Superposition):
88 def _comp(self,other,op):
89 r = super(All,self)._comp(other,op)
90 if len(r) == len(self):
91 return r
92 else:
93 return All()
94
95 def __eq__(self,other):
96 if isinstance(other,Set):

Callers

nothing calls this directly

Calls 1

AllClass · 0.85

Tested by

no test coverage detected