Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/r/Products.ZCTextIndex-2.13.5/src/Products/ZCTextIndex/tests/testSetOps.py   Products.ZCTextIndex(Download)
            sum = 0
            for t, w in L:
                if t.has_key(key):
                    sum += t[key] * w
            expected.append((key, sum))
            sum = 0
            for t, w in L:
                if t.has_key(key):
                    sum += t[key] * w
                else: