class_docstr: An immutable wrapper around dictionaries that implements the complete
  :py:class:`collections.Mapping` interface. It can be used as a drop-in
  replacement for dictionaries where immutability is desired.
class_docstr_tok: ["An","immutable","wrapper","around","dictionaries","that","implements","the","complete",":","py",":","class",":","`","collections.Mapping","`","interface",".","It","can","be","used","as","a","drop-in","replacement","for","dictionaries","where","immutability","is","desired","."]
code: def __init__(self, *args, **kwargs):
      self._dict = self.dict_cls(*args, **kwargs)
      self._hash = None
  
file_path: datalad/datalad/support/collections.py
imports: from typing import Mapping
label_desc: Use image node_id 1 to create a new ReadOnlyDict object from inherited base classes: Mapping with example: obj = ReadOnlyDict()