code: def _get_dict_default(obj, key):
      
      try:
          return obj[key]
      except Exception as f:
          pass
  
      try:
          if float(key) == round(float(key), 0):
              return obj[int(key)]
      except Exception as f:
          pass
  
      return NullType(obj, key)
docs: obj MUST BE A DICT
      key IS EXPECTED TO BE LITERAL (NO ESCAPING)
      TRY BOTH ATTRIBUTE AND ITEM ACCESS, OR RETURN Null