Add itertools.product as a filter (#32991)
This commit is contained in:
parent
781219bcfd
commit
c212c2e19f
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ class FilterModule(object):
|
|||
'union': union,
|
||||
|
||||
# combinatorial
|
||||
'product': itertools.product,
|
||||
'permutations': itertools.permutations,
|
||||
'combinations': itertools.combinations,
|
||||
|
||||
|
|
Loading…
Reference in a new issue