PyDocs

Nav

Data Types

MappingProxyType

types

class · Added in 3.3
  • MappingProxyType(mapping)
Read-only proxy of a mapping.
Changed in 3.9
  • 3.9: Updated to support the new union (|) operator from PEP 584, which simply delegates to the underlying mapping.
Members of MappingProxyType

c

copy
D.copy() -> a shallow copy of D

g

get
Return the value for key if key is in the mapping, else default.

i

items
D.items() -> a set-like object providing a view on D's items

k

keys
D.keys() -> a set-like object providing a view on D's keys

v

values
D.values() -> an object providing a view on D's values
0 Examples
No examples for types/MappingProxyType.
See Also
No see-alsos for types/MappingProxyType
0 Notes
No notes for MappingProxyType