class_docstr: A context for prepending a directory to sys.path for a second.
code: def __exit__(self, type, value, traceback):
      if self._added_path:
          try:
              sys.path.remove(self._main_script_path)
          except ValueError:
              # It's already removed.
              pass
  
      # Returning False causes any exceptions to be re-raised.
      return False
  
imports: import sys
  from streamlit import util
label_desc: Use image node_id 4 for calling the modified_sys_path obj's underlying member method code with example usage: obj.__exit__(type, value, traceback) and returns: False