Skip to content

Commit c22cdeb

Browse files
committed
docs: clarify dict keys() and values() returns sorted arrays
1 parent 300b36a commit c22cdeb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/yaml/elementary/dict.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ methods:
4545

4646
- name: keys
4747
returns: list[str]
48-
description: Returns an array of keys in the dictionary.
48+
description: Returns an array of keys in the dictionary, sorted in ascending order.
4949

5050
- name: values
5151
returns: list[any]
52-
description: Returns an array of values in the dictionary.
52+
description: |
53+
Returns an array of values in the dictionary, sorted by the
54+
corresponding keys in ascending order.

0 commit comments

Comments
 (0)