cc-4105: minor formatting

This commit is contained in:
Rudi Grinberg 2012-08-02 14:32:53 -04:00
parent 82656408c9
commit 7c2ecf3753
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ class IncludeOnly(object):
def partition(f, alist):
"""
Partition is very similar to filter except that it also returns the elements for which f
return false but in a tuple.
Partition is very similar to filter except that it also returns the
elements for which f return false but in a tuple.
>>> partition(lambda x : x > 3, [1,2,3,4,5,6])
[4,5,6],[1,2,3]
"""