code: def skip_doctest_py3(f):
      """Decorator - skip the doctest under Python 3."""
      f.skip_doctest = sys.version_info[0] >= 3
      return f
  
imports: import sys
label_desc: Use image node_id 2 for calling a global function with example usage: skip_doctest_py3(f) and returns: f