MCPcopy Create free account
hub / github.com/bspaans/python-mingus / __eq__

Method __eq__

mingus/core/scales.py:111–115  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

109 )
110
111 def __eq__(self, other):
112 if self.ascending() == other.ascending():
113 if self.descending() == other.descending():
114 return True
115 return False
116
117 def __ne__(self, other):
118 return not self.__eq__(other)

Callers 1

__ne__Method · 0.95

Calls 3

ascendingMethod · 0.95
descendingMethod · 0.95
ascendingMethod · 0.45

Tested by

no test coverage detected