def summary(self, verbosity=0, width=None):
    'Returns the summary of the cover.\n\n        The summary includes the number of items and clusters, and also the\n        list of members for each of the clusters if the verbosity is nonzero.\n\n        @param verbosity: determines whether the cluster members should be\n          printed. Zero verbosity prints the number of items and clusters only.\n        @return: the summary of the cover as a string.\n        '
    out = StringIO()
    ((print >> out), ('Cover with %d clusters' % len(self)))
    if (verbosity < 1):
        return out.getvalue().strip()
    ndigits = len(str(len(self)))
    wrapper = _get_wrapper_for_width(width, subsequent_indent=(' ' * (ndigits + 3)))
    for (idx, cluster) in enumerate(self._formatted_cluster_iterator()):
        wrapper.initial_indent = ('[%*d] ' % (ndigits, idx))
        ((print >> out), '\n'.join(wrapper.wrap(cluster)))
    return out.getvalue().strip()
Returns the summary of the cover.

The summary includes the number of items and clusters, and also the
list of members for each of the clusters if the verbosity is nonzero.

@param verbosity: determines whether the cluster members should be
  printed. Zero verbosity prints the number of items and clusters only.
@return: the summary of the cover as a string.
def summary(self, verbosity=0, width=None):
    'Returns the summary of the cover.\n\n        The summary includes the number of items and clusters, and also the\n        list of members for each of the clusters if the verbosity is nonzero.\n\n        @param verbosity: determines whether the cluster members should be\n          printed. Zero verbosity prints the number of items and clusters only.\n        @return: the summary of the cover as a string.\n        '
    out = StringIO()
    ((print >> out), ('Cover with %d clusters' % len(self)))
    if (verbosity < 1):
        return out.getvalue().strip()
    ndigits = len(str(len(self)))
    wrapper = _get_wrapper_for_width(width, subsequent_indent=(' ' * (ndigits + 3)))
    for (idx, cluster) in enumerate(self._formatted_cluster_iterator()):
        wrapper.initial_indent = ('[%*d] ' % (ndigits, idx))
        ((print >> out), '\n'.join(wrapper.wrap(cluster)))
    return out.getvalue().strip()