From f7bd6c1948ab5f9e977626d09a9984354ee8c202 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() (cherry picked from commit 5e8e216ee03e35ba07a2aa35e29ceb80fb464c31) --- 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 4f993a14cae..20b735cba6f 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -298,7 +298,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")