Skip to content

Commit 2f6fdfb

Browse files
committed
docs: clarify dict keys() and values() returns sorted arrays
1 parent 8ec14b8 commit 2f6fdfb

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,9 +45,11 @@ 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.
5352
since: 1.8.0
53+
description: |
54+
Returns an array of values in the dictionary, sorted by the
55+
corresponding keys in ascending order.

0 commit comments

Comments
 (0)