code: def merge_dict(d1: Dict, d2: Dict) -> None:
      """
      Modifies d1 in-place to contain values from d2.  If any value
      in d1 is a dictionary (or dict-like), *and* the corresponding
      value in d2 is also a dictionary, then merge them in-place.
      If a key in d2 has an explicit value of None that key is removed
      from d1.
      """
  
      for k, v2 in d2.items():
          if v2 is None:
              d1.pop(k)
              continue
          v1 = d1.get(k)
          if isinstance(v1, dict) and isinstance(v2, dict):
              merge_dict(v1, v2)
          else:
              d1[k] = v2
  
imports: import json
  import sys
  from typing import Any, Dict, List
label_desc: Use image node_id 1 for calling a global function with example usage: merge_dict(d1, d2) without return types