summaryrefslogtreecommitdiff
path: root/doc/classes/Array.xml
diff options
context:
space:
mode:
authorDamien Picard <dam.pic@free.fr>2018-09-25 11:46:45 +0200
committerDamien Picard <dam.pic@free.fr>2018-09-25 11:46:45 +0200
commit5e8e216ee03e35ba07a2aa35e29ceb80fb464c31 (patch)
tree98f6d65c3cd00577533f7ff87db2e1a635e19c44 /doc/classes/Array.xml
parent5adf7aa6b75d1ab566f4bd68c4dec3ca7c188306 (diff)
Doc: fix example in Array sort_custom()
Diffstat (limited to 'doc/classes/Array.xml')
-rw-r--r--doc/classes/Array.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml
index 3bd621799a..b134650f8d 100644
--- a/doc/classes/Array.xml
+++ b/doc/classes/Array.xml
@@ -321,7 +321,7 @@
static func sort(a, b):
if a[0] &lt; b[0]:
return true
- return false
+ return false
var my_items = [[5, "Potato"], [9, "Rice"], [4, "Tomato"]]
my_items.sort_custom(MyCustomSorter, "sort")