code: def from_none(exc):
      """raise from_none(ValueError('a')) == raise ValueError('a') from None"""
      exc.__cause__ = None
      exc.__suppress_context__ = True
      return exc
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import abc
  import os
  from io import open
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: from_none(exc) and returns: exc