gh-100049: fix `repr` for `mappingproxy` in dictionary view example doc (#100052)

This commit is contained in:
ram vikram singh 2022-12-10 14:46:00 +05:30 committed by GitHub
parent 7a0f3c1d92
commit 7c0fb71fbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4743,7 +4743,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