# Ticket #5200: subsets_subwords-5200-review.patch

File subsets_subwords-5200-review.patch, 2.1 KB (added by hivert, 12 years ago)

Last review patch.

• ## sage/combinat/subset.py

```# HG changeset patch
# User Florent Hivert <Florent.Hivert@univ-rouen.fr>
# Date 1237496230 -3600
# Node ID 98a3f6e1b8a69b5a9ee4d5dd85d92b4b2c06e9c3
# Parent  a3acc7ad915771ad3873332c294a429a683bfb4f
[mq]: subsets_subwords-5200-review.patch

diff -r a3acc7ad9157 -r 98a3f6e1b8a6 sage/combinat/subset.py```
 a def iterator(self): """ Iterate through the subsets of s. Iterates through the subsets of s. EXAMPLES:: def iterator(self): """ Iterate through the subsets of s of size k. Iterates through the subsets of s of size k. EXAMPLES:: def iterator(self): """ Iterate through the subsets of the multiset ``self._s``.  Note Iterates through the subsets of the multiset ``self._s``.  Note that each subset is represented by a list of its elements rather than a set since we can have multiplicities (no multiset data structure yet in sage). class SubMultiset_sk(SubMultiset_s): """ The combinatorial class of all of the subsets of size k of a multiset s. Note that each subset is represented by a list of the elements rather than a set since we can have multiplicities (no multiset data structure yet in The combinatorial class of the subsets of size k of a multiset s.  Note that each subset is represented by a list of the elements rather than a set since we can have multiplicities (no multiset data structure yet in sage). EXAMPLES:: def iterator(self): """ Iterate through the subsets of size ``self._k`` of the multiset Iterates through the subsets of size ``self._k`` of the multiset ``self._s``. Note that each subset is represented by a list of the elements rather than a set since we can have multiplicities (no multiset data structure yet in sage).