def find(self, ea):
        """
        Returns a tupple (ea, name, pos) that is the nearest to the passed ea
        If no name is matched then None is returned
        """
        pos = bisect.bisect_left(self._addrs, ea)
        # no match
        if len(self._addrs) >= pos:
            return None
        # exact match?
        if self._addrs[pos] != ea:
            pos -= 1 # go to previous element
        if pos < 0:
            return None
        return self[pos]
dataset/ETHPy150Open EiNSTeiN-/idapython/pywraps/py_name.py/NearestName.find/swapped operands of `>=`