aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoralandonovan <adonovan@google.com>2019-04-01 23:09:56 -0400
committerGitHub <noreply@github.com>2019-04-01 23:09:56 -0400
commitcb523dafc3756a04167ea3eaa6a873a79ae7a4ae (patch)
treee3255800ba5b303cb0d1f2f513343bcb709ad4a3 /doc
parent885f8b82a921bf224e0c78ac3745656b0d46e9c6 (diff)
downloadstarlark-go-cb523dafc3756a04167ea3eaa6a873a79ae7a4ae.tar.gz
starlark: make dir return a sorted list (#182)
Updates bazelbuild/starlark#40
Diffstat (limited to 'doc')
-rw-r--r--doc/spec.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/spec.md b/doc/spec.md
index ca641b8..0c2b8a3 100644
--- a/doc/spec.md
+++ b/doc/spec.md
@@ -2940,7 +2940,7 @@ With no arguments, `dict()` returns a new empty dictionary.
### dir
-`dir(x)` returns a list of the names of the attributes (fields and methods) of its operand.
+`dir(x)` returns a new sorted list of the names of the attributes (fields and methods) of its operand.
The attributes of a value `x` are the names `f` such that `x.f` is a valid expression.
For example,