changeset 119 | 664b86f16a91 |
parent 72 | 9049384a2bd4 |
child 210 | 4f9a1501bba6 |
--- a/src/pyams_utils/list.py Fri Nov 10 13:51:21 2017 +0100 +++ b/src/pyams_utils/list.py Fri Dec 08 12:08:41 2017 +0100 @@ -23,7 +23,7 @@ def unique(seq, idfun=None): """Extract unique values from list, preserving order - :param list seq: input list + :param iterator seq: input list :param callable idfun: an identity function which is used to get 'identity' value of each element in the list :return: list; a new list containing only unique elements of the original list in their initial order.