code: def remove_by_id(lst, value):
      """Remove a value from a list by id."""
      for i, v in enumerate(lst):
          if id(v) == id(value):
              del lst[i]
              return
  
file_path: keras/keras/utils/python_utils.py
imports: import binascii
  import codecs
  import marshal
  import os
  import types
label_desc: Use image node_id 9 for calling a global function with example usage: remove_by_id(lst, value) without return types