code: def get_vers_for_target(target):
      
      target_info = get_target_info(target)
      if not target_info:
          return py2_vers + py3_vers
      elif len(target_info) == 1:
          if target_info == (2,):
              return py2_vers
          elif target_info == (3,):
              return py3_vers
          else:
              raise CoconutInternalException("invalid target info", target_info)
      elif target_info == (3, 3):
          return [(3, 3), (3, 4)]
      else:
          return [target_info[:2]]
docs: Gets a list of the versions supported by the given target.