class_docstr: A dictionary-like object that is customized to deal with multiple
  values for the same key.
  
  Each value in this dictionary will be a list. Methods which emulate
  the methods of a standard Python ``dict`` object will return or manipulate
  the first items of the lists only. Special methods are provided to
  deal with keys having multiple values.
class_docstr_tok: ["A","dictionary-like","object","that","is","customized","to","deal","with","multiple","values","for","the","same","key",".","Each","value","in","this","dictionary","will","be","a","list",".","Methods","which","emulate","the","methods","of","a","standard","Python","``","dict","``","object","will","return","or","manipulate","the","first","items","of","the","lists","only",".","Special","methods","are","provided","to","deal","with","keys","having","multiple","values","."]
code: def __init__(self, *args, **kwds):
      self._dict = {}
      if len(args) > 1:
          raise ValueError(
              "%r expected at most 1 argument, got %d"
              % (self.__class__.__name__, len(args))
          )
      if args:
          args = args[0]
          self.update(args)
      self.update(kwds)
  
imports: from contextlib import contextmanager
  from collections.abc import MutableMapping
  from itertools import chain
  from warnings import warn
  import os
  import tempfile
label_desc: Use image node_id 1 to create a new multidict object from inherited base classes: MutableMapping with example: obj = multidict()