Skip to content

Commit 92dd53b

Browse files
gh-100049: fix repr for mappingproxy in dictionary view example doc (GH-100052)
(cherry picked from commit 7c0fb71) Co-authored-by: ram vikram singh <[email protected]>
1 parent 580165d commit 92dd53b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4693,7 +4693,7 @@ An example of dictionary view usage::
46934693

46944694
>>> # get back a read-only proxy for the original dictionary
46954695
>>> values.mapping
4696-
mappingproxy({'eggs': 2, 'sausage': 1, 'bacon': 1, 'spam': 500})
4696+
mappingproxy({'bacon': 1, 'spam': 500})
46974697
>>> values.mapping['spam']
46984698
500
46994699

0 commit comments

Comments
 (0)