diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-12-10 09:24:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-10 09:24:46 (GMT) |
commit | 92dd53bf94a2cf7686681c0486f003775692bd4a (patch) | |
tree | 1ab965e2abb2d9642947c1f08bef01a6946a1c76 | |
parent | 580165d01c579c781c9ba0327f6ff7457201cea8 (diff) | |
download | cpython-92dd53bf94a2cf7686681c0486f003775692bd4a.zip cpython-92dd53bf94a2cf7686681c0486f003775692bd4a.tar.gz cpython-92dd53bf94a2cf7686681c0486f003775692bd4a.tar.bz2 |
gh-100049: fix `repr` for `mappingproxy` in dictionary view example doc (GH-100052)
(cherry picked from commit 7c0fb71fbfa8682f56c15832e2c793a6180f2ec0)
Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
-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 8f90bd3..a6a7eea 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4693,7 +4693,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 |