commit | 979db976a3a07e20df7664b567aba91a2d0b538c | [log] [tgz] |
---|---|---|
author | Greg Ward <gward@python.net> | Sun Jul 30 01:45:42 2000 +0000 |
committer | Greg Ward <gward@python.net> | Sun Jul 30 01:45:42 2000 +0000 |
tree | 64e692e4a1f3bb8d0626769a6eb6699d3aa6b23f | |
parent | 23266fe5cf730dedabb44951168ff141c0ac9bac [diff] |
Added list-like methods: 'append()', 'extend()', 'sort()'. Added 'remove_duplicates()'. Simplified constructor: no longer take 'files' or 'allfiles' as args, and no longer have 'dir' attribute at all. Added 'set_allfiles()' and 'findall()' so the client does have a way to set the list of all files. Changed 'include_pattern()' to use the 'findall()' method instead of the external function. (Of course, the method is just a trivial wrapper around the function.)