summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-07-04 14:17:57 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-07-04 14:17:57 +0000
commit4a527525956f3ebb6de772ed284268406c53055e (patch)
treef04d69d7289958796c4d88d60ce54bf6b41d2230
parent45bed4b083832087fdff962db8f7af4bb92015b9 (diff)
downloadmorph-4a527525956f3ebb6de772ed284268406c53055e.tar.gz
Rewrite docstring to be clearer to me
-rw-r--r--morphlib/artifactsplitrule.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/morphlib/artifactsplitrule.py b/morphlib/artifactsplitrule.py
index bc92e5fb..4440f329 100644
--- a/morphlib/artifactsplitrule.py
+++ b/morphlib/artifactsplitrule.py
@@ -150,9 +150,8 @@ class SplitRules(collections.Iterable):
def partition(self, iterable):
'''Match many files or artifacts.
- It's the common case to take a bunch of filenames and determine
- which artifact each should go to, so rather than implement this
- logic in multiple places, it's here as a convenience method.
+ This function takes an iterable of file names, and partitions them
+ using the rules that have been added to this object.
'''