import warnings
import itertools


def unique_combinations(items, n):
    """Return `itertools.combinations`."""
    warnings.warn('docutils.utils.unique_combinations is deprecated; '
                  'use itertools.combinations directly.',
                      DeprecationWarning, stacklevel=2)
    return itertools.combinations(items, n)