From f04ebbb41525b89bf7c42e0eeee3685a838a3e38 Mon Sep 17 00:00:00 2001 From: ram vikram singh Date: Sat, 10 Dec 2022 14:46:00 +0530 Subject: [PATCH] gh-100049: fix `repr` for `mappingproxy` in dictionary view example doc (GH-100052) (cherry picked from commit 7c0fb71fbfa8682f56c15832e2c793a6180f2ec0) Co-authored-by: ram vikram singh --- 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 8f90bd3efa6c9b..a6a7eea9f07139 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4693,7 +4693,7 @@ An example of dictionary view usage:: >>> # get back a read-only proxy for the original dictionary >>> values.mapping - mappingproxy({'eggs': 2, 'sausage': 1, 'bacon': 1, 'spam': 500}) + mappingproxy({'bacon': 1, 'spam': 500}) >>> values.mapping['spam'] 500