class_docstr: A class for replacing non-negative integers with a
  "canonical" value that is equivalent for all relevant
  purposes.
docstr: Return the canonical integer considered equivalent
  to ``value``.
docstr_tok: ["Return","the","canonical","integer","considered","equivalent","to","``","value","``","."]
code: def normalize(self, value):
      """Return the canonical integer considered equivalent
      to ``value``."""
      try:
          return self.__cache[value]
      except KeyError:
          pass
      i = bisect_right(self.__values, value) - 1
      assert i >= 0
      return self.__cache.setdefault(value, self.__values[i])
  
imports: from bisect import bisect_right, insort
  from collections import Counter
  import attr
  from hypothesis.errors import InvalidState
  from hypothesis.internal.conjecture.dfa import DFA, cached
  from hypothesis.internal.conjecture.junkdrawer import IntList, NotFound, SelfOrganisingList, find_integer
label_desc: Use image node_id 5 for calling the IntegerNormalizer obj's underlying member method code with example usage: obj.normalize(value) and returns: self, self