code: def _short_req_str(package_request):
      
      if not package_request.conflict:
          versions = package_request.range.to_versions()
          if versions and len(versions) == len(package_request.range) \
                  and len(versions) > 1:
              return "%s-%s(%d)" % (package_request.name,
                                    str(package_request.range.span()),
                                    len(versions))
      return str(package_request)
docs: print shortened version of '==X|==Y|==Z' ranged requests.