warg.functions¶
Created on 14/01/2020
Functions
|
Returns args without any modification what so ever. |
|
Returns None, but accepts everything |
|
Calculate the product of an Iterable, of int or floats :param iterable: :return: |
|
|
|
|
|
|
|
description |
result = {} [result.setdefault(a, {}).update({k:b}) for k, v in m.items() for a, b in v.items()] return result |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
iterates and recursively flattens nested mappings by appending keys for each level |
|
Finds common substrings in Iterable of strings, ordered in most to least occurring |
|
takes two mappings and reduces it to one mapping, if the agree or one of them is None take one or the other. |