Fixes typo in Array::bsearch_custom doc

(cherry picked from commit 31243e377f)
This commit is contained in:
Haoyu Qiu 2021-02-26 18:01:08 +08:00 committed by Rémi Verschelde
parent 1958a5b35e
commit 2003a41f0f

View file

@ -165,7 +165,7 @@
# `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.
[/codeblock]
[b]Note:[/b] Calling [method bsearch] on an unsorted array results in unexpected behavior.
[b]Note:[/b] Calling [method bsearch_custom] on an unsorted array results in unexpected behavior.
</description>
</method>
<method name="clear">