From b486eccc9614691b68b508c637180593d9d7da6f Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 11 Oct 2024 23:40:46 +0100 Subject: [PATCH] Update stdtypes.rst --- Doc/library/stdtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index b39359aef9e465..a6e2e3b8928ebe 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4509,7 +4509,7 @@ can be used interchangeably to index the same dictionary entry. dictionary is created by calling :meth:`~object.__getitem__` on the argument with each returned key from the method. Otherwise, the positional argument must be an :term:`iterable` object. Each item in the iterable must itself be an iterable - with exactly two objects. The first element of each item becomes a key in the + with exactly two elements. The first element of each item becomes a key in the new dictionary, and the second element the corresponding value. If a key occurs more than once, the last value for that key becomes the corresponding value in the new dictionary.