Skip to content

Commit 7c0fb71

Browse files
authored
gh-100049: fix repr for mappingproxy in dictionary view example doc (#100052)
1 parent 7a0f3c1 commit 7c0fb71

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
@@ -4743,7 +4743,7 @@ An example of dictionary view usage::
47434743

47444744
>>> # get back a read-only proxy for the original dictionary
47454745
>>> values.mapping
4746-
mappingproxy({'eggs': 2, 'sausage': 1, 'bacon': 1, 'spam': 500})
4746+
mappingproxy({'bacon': 1, 'spam': 500})
47474747
>>> values.mapping['spam']
47484748
500
47494749

0 commit comments

Comments
 (0)