MCPcopy Index your code
hub / github.com/clips/pattern / __iadd__

Method __iadd__

pattern/metrics.py:361–362  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

359 def __init__(self, value=0.0, assessments=[]):
360 self.assessments = set(assessments)
361 def __iadd__(self, value):
362 return Weight(self + value, self.assessments)
363 def __isub__(self, value):
364 return Weight(self - value, self.assessments)
365 def __imul__(self, value):

Callers

nothing calls this directly

Calls 1

WeightClass · 0.85

Tested by

no test coverage detected