MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / __le__

Method __le__

numpy_ml/preprocessing/nlp.py:424–428  ·  view source on GitHub ↗

Less than or equal to

(self, other)

Source from the content-addressed store, hash-verified

422 return self.val < other.val
423
424 def __le__(self, other):
425 """Less than or equal to"""
426 if not isinstance(other, Node):
427 return -1
428 return self.val <= other.val
429
430
431class HuffmanEncoder(object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected