Add setutils.complement, setutils.fullSet (#17066)
This commit is contained in:
parent
148e5ba2a5
commit
35ded02074
3 changed files with 55 additions and 9 deletions
|
|
@ -75,8 +75,11 @@
|
|||
- `strscans.scanf` now supports parsing single characters.
|
||||
- `strscans.scanTuple` added which uses `strscans.scanf` internally, returning a tuple which can be unpacked for easier usage of `scanf`.
|
||||
|
||||
- Added `setutils.toSet` that can take any iterable and convert it to a built-in set,
|
||||
- Added `setutils.toSet` that can take any iterable and convert it to a built-in `set`,
|
||||
if the iterable yields a built-in settable type.
|
||||
- Added `setutils.fullSet` which returns a full built-in `set` for a valid type.
|
||||
- Added `setutils.complement` which returns the complement of a built-in `set`.
|
||||
|
||||
|
||||
- Added `math.isNaN`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue