Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4603,6 +4603,11 @@ can be used interchangeably to index the same dictionary entry.
LIFO order is now guaranteed. In prior versions, :meth:`popitem` would
return an arbitrary key/value pair.

.. describe:: sorted(d)

Return a sorted iterator over the keys of the dictionary. This is a
shortcut for ``sorted(d.keys())``.

.. describe:: reversed(d)

Return a reverse iterator over the keys of the dictionary. This is a
Expand Down