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/m/b/MBSP-HEAD/tree.py   MBSP(Download)
    def __getitem__(self, index):
        return self.function(self.set[index])
    def __len__(self):
        return len(self.set)
    def __iter__(self):
        i = 0
        while i < len(self.set):
            yield self.function(self.set[i])