From 5e8e216ee03e35ba07a2aa35e29ceb80fb464c31 Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Tue, 25 Sep 2018 11:46:45 +0200 Subject: [PATCH] Doc: fix example in Array sort_custom() --- doc/classes/Array.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index 3bd621799a1..b134650f8d2 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -321,7 +321,7 @@ static func sort(a, b): if a[0] < b[0]: return true - return false + return false var my_items = [[5, "Potato"], [9, "Rice"], [4, "Tomato"]] my_items.sort_custom(MyCustomSorter, "sort")