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

(cherry picked from commit 7c0fb71fbf)

Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
This commit is contained in:
Miss Islington (bot) 2022-12-10 01:23:24 -08:00 committed by GitHub
parent 3939a4b7d9
commit 9aca00341a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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