|
# `compare` is defined in this object, so we use `self` as the `obj` parameter.
|
|
# `compare` is defined in this object, so we use `self` as the `obj` parameter.
|
|
print(a.bsearch_custom("three", self, "compare", true)) # Expected value is 2.
|
|
print(a.bsearch_custom("three", self, "compare", true)) # Expected value is 2.
|