diff options
author | ram vikram singh <ramvikrams243@gmail.com> | 2022-12-10 09:16:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-10 09:16:00 (GMT) |
commit | 7c0fb71fbfa8682f56c15832e2c793a6180f2ec0 (patch) | |
tree | d81437b4aa98d543063c702490bfb62cf3704108 /Doc/library | |
parent | 7a0f3c1d92ef0768e082ace19d970b0ef12e7346 (diff) | |
download | cpython-7c0fb71fbfa8682f56c15832e2c793a6180f2ec0.zip cpython-7c0fb71fbfa8682f56c15832e2c793a6180f2ec0.tar.gz cpython-7c0fb71fbfa8682f56c15832e2c793a6180f2ec0.tar.bz2 |
gh-100049: fix `repr` for `mappingproxy` in dictionary view example doc (#100052)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/stdtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 73debe5..40f787f 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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 |