You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-27 15:57:02 +00:00
Fixes typo in Array::bsearch_custom doc
(cherry picked from commit 31243e377f)
This commit is contained in:
committed by
Rémi Verschelde
parent
1958a5b35e
commit
2003a41f0f
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user