Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d83f5bd

Browse files
andresdelfinorhettinger
authored andcommitted
Fix minor grammatical mistakes in reversed(dict) doc (GH-10997)
1 parent 7804e8c commit d83f5bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4283,7 +4283,7 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:
42834283

42844284
.. describe:: reversed(d)
42854285

4286-
Return a reversed iterator over the keys of the dictionary. This is a
4286+
Return a reverse iterator over the keys of the dictionary. This is a
42874287
shortcut for ``reversed(d.keys())``.
42884288

42894289
.. method:: setdefault(key[, default])
@@ -4394,7 +4394,7 @@ support membership tests:
43944394

43954395
.. describe:: reversed(dictview)
43964396

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

44004400
.. versionchanged:: 3.8

0 commit comments

Comments
 (0)