From d2a15f52a6b2952846c296014fbb2a784362e027 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Mon, 6 Nov 1995 22:37:57 +0100
Subject: [PATCH] now supports objects

Rev: doc/builtin/indices:1.2
Rev: doc/builtin/values:1.2
---
 doc/builtin/indices | 4 ++--
 doc/builtin/values  | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/builtin/indices b/doc/builtin/indices
index f6686134cf..9c1db3c5af 100644
--- a/doc/builtin/indices
+++ b/doc/builtin/indices
@@ -2,13 +2,13 @@ NAME
 	indices - return an array of all index possible for a value
 
 SYNTAX
-	mixed *indices(string|array|mapping|list foo);
+	mixed *indices(string|array|mapping|list|object foo);
 
 DESCRIPTION
 	Indices returns an array of all values you can use as index when
 	indexing foo. For strings and arrays this is simply an array of the
 	ascending numbers. For mappings and lists, the array may contain any
-	kind of value.
+	kind of value. For objects, the result is an array of strings.
 
 SEE ALSO
 	values
diff --git a/doc/builtin/values b/doc/builtin/values
index 342e1ef861..ee6e4e6982 100644
--- a/doc/builtin/values
+++ b/doc/builtin/values
@@ -2,14 +2,14 @@ NAME
 	values - return an array of all possible values from indexing
 
 SYNTAX
-	mixed *values(string|list|mapping|array foo);
+	mixed *values(string|list|mapping|array|object foo);
 
 DESCRIPTION
 	Values return an array of all values you can get when indexing the
 	value foo. For strings, an array of int with the ascii values of the
 	characters in the string is returned. For a list, an array filled with
-	ones is return. For mappings and arrays, the returned array may
-	contain any kind of value.
+	ones is return. For mappings, objects and arrays, the returned array
+	may contain any kind of value.
 
 SEE ALSO
 	indices
-- 
GitLab