code: def collect_curses(info_add):
      try:
          import curses
      except ImportError:
          return
  
      copy_attr(
          info_add, "curses.ncurses_version", curses, "ncurses_version"
      )
  
imports: import errno
  import re
  import sys
  import traceback
  import warnings
label_desc: Use image node_id 16 for calling a global function with example usage: collect_curses(info_add) without return types