class_docstr: An associative list.
  
  This class is like a `dict` that accepts unhashable keys by using an
  assoc list for internal use only
class_docstr_tok: ["An","associative","list",".","This","class","is","like","a","`","dict","`","that","accepts","unhashable","keys","by","using","an","assoc","list","for","internal","use","only"]
code: def __setitem__(self, item, value):
      try:
          self._dict[item] = value
      except Exception:
          for i, (key, val) in enumerate(self._list):
              if key == item:
                  self._list[i] = (item, value)
                  return
          self._list.append((item, value))
  
imports: import linecache
  import sys
  import traceback
  from abc import ABCMeta
  from collections.abc import Sequence
  from io import StringIO
  from typing import TYPE_CHECKING, Any, Optional, TypeVar, Union
label_desc: Use image node_id 3 for calling the AssocList obj's underlying member method code with example usage: obj.__setitem__(item, value) without return types