aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/lua/lua.luadoc
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2011-08-15 20:27:55 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2011-08-15 20:27:55 -0400
commitdc3170c5dae3ba31ed920c848ad6ff95857a1d59 (patch)
treecca2056853ab21ad824ae0a71e17d4e7953b1544 /modules/lua/lua.luadoc
parenteef6b96b495deb62f06c45d0689ce1deb8a4debb (diff)
Fixed Lua Adeptsense `table.sort` apidoc.
Diffstat (limited to 'modules/lua/lua.luadoc')
-rw-r--r--modules/lua/lua.luadoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/lua/lua.luadoc b/modules/lua/lua.luadoc
index b0602cc7..7990f6e1 100644
--- a/modules/lua/lua.luadoc
+++ b/modules/lua/lua.luadoc
@@ -579,8 +579,9 @@ function table.remove(table [, pos]) end
-- table. If `comp` is given, then it must be a function that receives two
-- table elements, and returns true when the first is less than the second
-- (so that `not comp(a[i+1],a[i])` will be true after the sort). If `comp`
--- is not given, then the standard Lua operator ``io.lines`, this function
--- does not close the file when the loop ends.)
+-- is not given, then the standard Lua operator `<` is used instead.
+-- The sort algorithm is not stable; that is, elements considered equal by the
+-- given order may have their relative positions changed by the sort.
function table.sort(table [, comp]) end
---