code: def check_exc_info(exc_info):
      assert_(
          exc_info is None or type(exc_info) is tuple,
          "exc_info (%r) is not a tuple: %r"
          % (exc_info, type(exc_info)),
      )
  
imports: import re
  import sys
  import warnings
label_desc: Use image node_id 10 for calling a global function with example usage: check_exc_info(exc_info) without return types