X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FCounter.py;h=b23e689df9ec9c565a8d88ecd6d8b6d564f94f1a;hb=60556cb10074caf1be7458d68d88645d660a5806;hp=b43382cf16cc339f8b809c5f1e5b13538898e6fa;hpb=1c106006ffb33c1c60e2f8abe61e88a7bd95a7bd;p=integration%2Ftest.git diff --git a/csit/libraries/Counter.py b/csit/libraries/Counter.py index b43382cf16..b23e689df9 100644 --- a/csit/libraries/Counter.py +++ b/csit/libraries/Counter.py @@ -134,7 +134,7 @@ class Counter(dict): return result def __sub__(self, other): - """ Subtract count, but keep only results with positive counts. + """Subtract count, but keep only results with positive counts. >>> Counter('abbbc') - Counter('bccd') Counter({'b': 2, 'a': 1}) @@ -167,7 +167,7 @@ class Counter(dict): return result def __and__(self, other): - """ Intersection is the minimum of corresponding counts. + """Intersection is the minimum of corresponding counts. >>> Counter('abbb') & Counter('bcc') Counter({'b': 1})