code: def classpath(cls, targets, classpath_products, confs=('default',)):
      
      classpath_iter = cls._classpath_iter(classpath_products.get_for_targets(targets), confs=confs)
      return list(classpath_iter)
docs: Return the classpath as a list of paths covering all the passed targets.
  
      :param targets: Targets to build an aggregated classpath for.
      :param ClasspathProducts classpath_products: Product containing classpath elements.
      :param confs: The list of confs for use by this classpath.
      :returns: The classpath as a list of path elements.
      :rtype: list of string