Fixes typo in Array::bsearch_custom doc
(cherry picked from commit 31243e377f
)
This commit is contained in:
parent
1958a5b35e
commit
2003a41f0f
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@
|
||||||
# `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.
|
||||||
[/codeblock]
|
[/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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="clear">
|
<method name="clear">
|
||||||
|
|
Loading…
Reference in a new issue