Skip to content

Commit 9aca003

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 3939a4b commit 9aca003

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

47344734
>>> # get back a read-only proxy for the original dictionary
47354735
>>> values.mapping
4736-
mappingproxy({'eggs': 2, 'sausage': 1, 'bacon': 1, 'spam': 500})
4736+
mappingproxy({'bacon': 1, 'spam': 500})
47374737
>>> values.mapping['spam']
47384738
500
47394739

0 commit comments

Comments
 (0)