Tags: wheerd/multiset
Tags
Make Multiset(s) subscriptable with Multiset[_T] syntax (#138) * Add typing to source file and remove typing file * Format toml * Fix operator usage only available from 3.11 * Disable fail-fast in ci * Restore typing file * Fix typing issue with 3.8 * Fix Iterable usage for 3.8 * Fix iterable usage for 3.8 * Fix Set usage for 3.8
Fix pop and setdefault methods (#116) * Fix pop and setdefault methods These two methods didn't update the self._total variable when called, which stores the total size of the multiset. This could lead to an erroneous size value being stored, since it would be out of sync with the real multiset size. * Update test adding some size checks * Update size checks to make them clearer
PreviousNext