docs: def setDictDefaults (d, defaults):
    """Sets all defaults for the given dictionary to those contained in a
    second defaults dictionary.  This convenience method calls:
  
      d.setdefault(key, value)
  
    for each key and value in the given defaults dictionary.
    """
    for key, val in defaults.items():
      d.setdefault(key, val)
  
    return d