Skip to content

Commit

Permalink
Fix minor grammatical mistakes in reversed(dict) doc (pythonGH-10997)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresdelfino authored and rhettinger committed Dec 24, 2018
1 parent 7804e8c commit d83f5bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4283,7 +4283,7 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:

.. describe:: reversed(d)

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

.. method:: setdefault(key[, default])
Expand Down Expand Up @@ -4394,7 +4394,7 @@ support membership tests:

.. describe:: reversed(dictview)

Return an reversed iterator over the keys, values or items of the dictionnary.
Return a reverse iterator over the keys, values or items of the dictionary.
The view will be iterated in reverse order of the insertion.

.. versionchanged:: 3.8
Expand Down

0 comments on commit d83f5bd

Please sign in to comment.